#[repr(C)]pub struct ExtensionReference {
pub version: u8,
pub identifier_len: u8,
pub descriptor_len: u8,
pub source_len: u8,
pub buf: [u8; 252],
}Available on crate features
alloc and sync only.Expand description
Represents ExtensionReference.
Fields§
§version: u8The version field.
identifier_len: u8The identifier_len field.
descriptor_len: u8The descriptor_len field.
source_len: u8The source_len field.
buf: [u8; 252]The buf field.
Implementations§
Source§impl ExtensionReference
impl ExtensionReference
Sourcepub fn header(&self) -> SystemUseHeader
Available on crate feature std only.
pub fn header(&self) -> SystemUseHeader
std only.Performs the header operation.
Source§impl ExtensionReference
impl ExtensionReference
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 ExtensionReference
impl Clone for ExtensionReference
impl Copy for ExtensionReference
Source§impl Debug for ExtensionReference
impl Debug for ExtensionReference
Auto Trait Implementations§
impl Freeze for ExtensionReference
impl RefUnwindSafe for ExtensionReference
impl Send for ExtensionReference
impl Sync for ExtensionReference
impl Unpin for ExtensionReference
impl UnsafeUnpin for ExtensionReference
impl UnwindSafe for ExtensionReference
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