pub enum SgiLabelByteOrder {
Native,
Swabbed,
}Expand description
Which way round the 16-bit words of an image sit. Byte-swapped images come from controllers that wired the data bus the other way round.
Variants§
Native
Big-endian as the 68020 saw it; no fixup needed.
Swabbed
Every 16-bit word has its two bytes reversed.
Implementations§
Source§impl SgiLabelByteOrder
impl SgiLabelByteOrder
Sourcepub fn display_name(self) -> &'static str
pub fn display_name(self) -> &'static str
Plain-ASCII name for logs and the inspect view.
Trait Implementations§
Source§impl Clone for SgiLabelByteOrder
impl Clone for SgiLabelByteOrder
impl Copy for SgiLabelByteOrder
Source§impl Debug for SgiLabelByteOrder
impl Debug for SgiLabelByteOrder
Source§impl<'de> Deserialize<'de> for SgiLabelByteOrder
impl<'de> Deserialize<'de> for SgiLabelByteOrder
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SgiLabelByteOrder
Source§impl PartialEq for SgiLabelByteOrder
impl PartialEq for SgiLabelByteOrder
Source§impl Serialize for SgiLabelByteOrder
impl Serialize for SgiLabelByteOrder
impl StructuralPartialEq for SgiLabelByteOrder
Auto Trait Implementations§
impl Freeze for SgiLabelByteOrder
impl RefUnwindSafe for SgiLabelByteOrder
impl Send for SgiLabelByteOrder
impl Sync for SgiLabelByteOrder
impl Unpin for SgiLabelByteOrder
impl UnsafeUnpin for SgiLabelByteOrder
impl UnwindSafe for SgiLabelByteOrder
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