pub struct OptionalMagic(pub u16);Expand description
Stringifies the optional header’s Magic value.
Tuple Fields§
§0: u16Implementations§
Trait Implementations§
Source§impl Clone for OptionalMagic
impl Clone for OptionalMagic
Source§fn clone(&self) -> OptionalMagic
fn clone(&self) -> OptionalMagic
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl FromStr for OptionalMagic
impl FromStr for OptionalMagic
impl Copy for OptionalMagic
Auto Trait Implementations§
impl Freeze for OptionalMagic
impl RefUnwindSafe for OptionalMagic
impl Send for OptionalMagic
impl Sync for OptionalMagic
impl Unpin for OptionalMagic
impl UnwindSafe for OptionalMagic
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