pub struct PropertyReader<'fdt> { /* private fields */ }
Expand description
A property data reader.
It reads data from the beginning to the end.
Each time a call to PropertyReader::read
is issued, the inner cursor will
advance by the size of the type being read.
Implementations§
Source§impl<'fdt> PropertyReader<'fdt>
impl<'fdt> PropertyReader<'fdt>
Trait Implementations§
Source§impl<'fdt> From<&FdtProperty<'fdt>> for PropertyReader<'fdt>
impl<'fdt> From<&FdtProperty<'fdt>> for PropertyReader<'fdt>
Source§fn from(prop: &FdtProperty<'fdt>) -> Self
fn from(prop: &FdtProperty<'fdt>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'fdt> Freeze for PropertyReader<'fdt>
impl<'fdt> RefUnwindSafe for PropertyReader<'fdt>
impl<'fdt> !Send for PropertyReader<'fdt>
impl<'fdt> !Sync for PropertyReader<'fdt>
impl<'fdt> Unpin for PropertyReader<'fdt>
impl<'fdt> UnwindSafe for PropertyReader<'fdt>
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