[−][src]Struct listinfo::EntryFragment
Represents a single ListInfo entry fragment.
Implementations
impl<'a> EntryFragment<'a>
[src]
pub fn entry(&'a self, key: &str) -> Option<&'a EntryNode<'a>>
[src]
Gets the entry node with the given key if it exists.
pub fn unique(&'a self, key: &str) -> Option<&'a EntryData>
[src]
Gets the entry node with the given key if it exists.
This is shorthand for fragment.entry("key").map(|f| f.unique())
pub fn iter(&'a self, key: &str) -> Option<impl Iterator<Item = &'a EntryData>>
[src]
Gets the values with the given key if it exists.
This is shorthand for fragment.entry("key").map(|f| f.iter())
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for EntryFragment<'a>
impl<'a> Send for EntryFragment<'a>
impl<'a> Sync for EntryFragment<'a>
impl<'a> Unpin for EntryFragment<'a>
impl<'a> UnwindSafe for EntryFragment<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,