pub struct Entries { /* private fields */ }Implementations§
Source§impl Entries
impl Entries
pub fn get(&self, keyword: &str) -> Option<&[Entry]>
pub fn contains(&self, keyword: &str) -> bool
pub fn keys(&self) -> impl Iterator<Item = &String>
pub fn iter(&self) -> impl Iterator<Item = (&String, &Vec<Entry>)>
pub fn first_key(&self) -> Option<&str>
pub fn last_key(&self) -> Option<&str>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn entry(&self, keyword: &str) -> Result<&Entry>
pub fn value(&self, keyword: &str) -> Result<&str>
pub fn values(&self, keyword: &str) -> Vec<&str>
pub fn push(&mut self, keyword: &str, entry: Entry)
pub fn unrecognized_lines(&self, recognized: &[&str]) -> Vec<String>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Entries
impl RefUnwindSafe for Entries
impl Send for Entries
impl Sync for Entries
impl Unpin for Entries
impl UnsafeUnpin for Entries
impl UnwindSafe for Entries
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more