struct ListGetter<'a> {
list: &'a [Robj],
}
Fields§
§list: &'a [Robj]
Trait Implementations§
Source§impl<'de> SeqAccess<'de> for ListGetter<'de>
impl<'de> SeqAccess<'de> for ListGetter<'de>
Source§type Error = Error
type Error = Error
The error type that can be returned if some error occurs during
deserialization.
Source§fn next_element_seed<T>(&mut self, seed: T) -> Result<Option<T::Value>>where
T: DeserializeSeed<'de>,
fn next_element_seed<T>(&mut self, seed: T) -> Result<Option<T::Value>>where
T: DeserializeSeed<'de>,
This returns
Ok(Some(value))
for the next value in the sequence, or
Ok(None)
if there are no more remaining items. Read moreSource§fn next_element<T>(&mut self) -> Result<Option<T>, Self::Error>where
T: Deserialize<'de>,
fn next_element<T>(&mut self) -> Result<Option<T>, Self::Error>where
T: Deserialize<'de>,
This returns
Ok(Some(value))
for the next value in the sequence, or
Ok(None)
if there are no more remaining items. Read moreAuto Trait Implementations§
impl<'a> Freeze for ListGetter<'a>
impl<'a> RefUnwindSafe for ListGetter<'a>
impl<'a> !Send for ListGetter<'a>
impl<'a> !Sync for ListGetter<'a>
impl<'a> Unpin for ListGetter<'a>
impl<'a> UnwindSafe for ListGetter<'a>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more