pub struct PaddingField {
pub length: u8,
}Available on crate features
alloc and sync only.Expand description
Represents PaddingField.
Fields§
§length: u8The length field.
Implementations§
Source§impl PaddingField
impl PaddingField
Sourcepub fn header(&self) -> SystemUseHeader
Available on crate feature std only.
pub fn header(&self) -> SystemUseHeader
std only.Performs the header operation.
Source§impl PaddingField
impl PaddingField
Sourcepub fn parse_data<R: Read>(
header: SystemUseHeader,
data: &mut R,
) -> Result<Self>
Available on crate feature std only.
pub fn parse_data<R: Read>( header: SystemUseHeader, data: &mut R, ) -> Result<Self>
std only.Performs the parse_data operation.
Trait Implementations§
Source§impl Clone for PaddingField
impl Clone for PaddingField
impl Copy for PaddingField
Source§impl Debug for PaddingField
impl Debug for PaddingField
Auto Trait Implementations§
impl Freeze for PaddingField
impl RefUnwindSafe for PaddingField
impl Send for PaddingField
impl Sync for PaddingField
impl Unpin for PaddingField
impl UnsafeUnpin for PaddingField
impl UnwindSafe for PaddingField
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