Struct pelite::stringify::OptionalMagic
source · [−]pub struct OptionalMagic(pub u16);
Expand description
Stringifies the optional header’s Magic
value.
Tuple Fields
0: u16
Implementations
sourceimpl OptionalMagic
impl OptionalMagic
Trait Implementations
sourceimpl Clone for OptionalMagic
impl Clone for OptionalMagic
sourcefn clone(&self) -> OptionalMagic
fn clone(&self) -> OptionalMagic
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl FromStr for OptionalMagic
impl FromStr for OptionalMagic
impl Copy for OptionalMagic
Auto Trait Implementations
impl RefUnwindSafe for OptionalMagic
impl Send for OptionalMagic
impl Sync for OptionalMagic
impl Unpin for OptionalMagic
impl UnwindSafe for OptionalMagic
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more