pub struct PsbList { /* private fields */ }
Implementations§
Source§impl PsbList
impl PsbList
pub fn new() -> Self
pub fn values(&self) -> &Vec<PsbValue>
pub fn len(&self) -> usize
pub fn iter(&self) -> Iter<'_, PsbValue>
pub fn unwrap(self) -> Vec<PsbValue>
pub fn from_bytes<T: Read + Seek>( stream: &mut T, table: &PsbRefs, ) -> Result<(u64, PsbList), PsbError>
pub fn write_bytes( &self, stream: &mut impl Write, table: &PsbRefs, ) -> Result<u64, PsbError>
pub fn collect_strings(&self, vec: &mut Vec<String>)
pub fn collect_names(&self, vec: &mut Vec<String>)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PsbList
impl<'de> Deserialize<'de> for PsbList
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for PsbList
Auto Trait Implementations§
impl Freeze for PsbList
impl RefUnwindSafe for PsbList
impl Send for PsbList
impl Sync for PsbList
impl Unpin for PsbList
impl UnwindSafe for PsbList
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