pub struct DualIso {
pub dual_mode: u32,
pub iso_value: u32,
}Expand description
Dual ISO information.
Fields§
§dual_mode: u32Bitmask, 0x1 = off, 0x1 = odd lines, 0x2 = even lines.
iso_value: u32The ISO value.
Trait Implementations§
Source§impl FromBytes for DualIso
impl FromBytes for DualIso
Source§const PREFERS_LE: bool = true
const PREFERS_LE: bool = true
Is it preferred to represent this type as bytes in the little endian order?
Source§fn from_le_bytes(bytes: Self::Bytes) -> Self
fn from_le_bytes(bytes: Self::Bytes) -> Self
Create a value of this type from its representation as a byte array in little endian.
Source§fn from_be_bytes(bytes: Self::Bytes) -> Self
fn from_be_bytes(bytes: Self::Bytes) -> Self
Create a value of this type from its representation as a byte array in big endian.
Source§fn from_bytes(bytes: Self::Bytes) -> Self
fn from_bytes(bytes: Self::Bytes) -> Self
Create a value of this type from its representation as a byte array in the preferred
byte order, set in the associated constant
PREFERS_LE.Source§fn from_ne_bytes(bytes: Self::Bytes) -> Self
fn from_ne_bytes(bytes: Self::Bytes) -> Self
Create a value of this type from its representation as a byte array in native endian. Read more
Source§impl MlvHeader for DualIso
impl MlvHeader for DualIso
Source§const MAGIC_BYTES: [u8; 4]
const MAGIC_BYTES: [u8; 4]
Magic bytes that denote this type of the header
Source§impl ToBytes for DualIso
impl ToBytes for DualIso
Source§const PREFERS_LE: bool = true
const PREFERS_LE: bool = true
Is it preferred to represent this type as bytes in the little endian order?
Source§fn to_le_bytes(self) -> Self::Bytes
fn to_le_bytes(self) -> Self::Bytes
Return the memory representation of this type as a byte array in little endian byte order.
Source§fn to_be_bytes(self) -> Self::Bytes
fn to_be_bytes(self) -> Self::Bytes
Return the memory representation of this type as a byte array in big endian byte order.
Source§fn to_bytes(self) -> Self::Bytes
fn to_bytes(self) -> Self::Bytes
Return the memory representation of this type as a byte array in the preferred
byte order, set in the associated constant
PREFERS_LE.Source§fn to_ne_bytes(self) -> Self::Bytes
fn to_ne_bytes(self) -> Self::Bytes
Return the memory representation of this type as a byte array in native endian byte order. Read more
impl Copy for DualIso
Auto Trait Implementations§
impl Freeze for DualIso
impl RefUnwindSafe for DualIso
impl Send for DualIso
impl Sync for DualIso
impl Unpin for DualIso
impl UnsafeUnpin for DualIso
impl UnwindSafe for DualIso
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<B, T> TryFromBytes for T
impl<B, T> TryFromBytes for T
Source§type Error = Infallible
type Error = Infallible
A type containing the failure of creating a value of the type from bytes.
Source§fn try_from_le_bytes(bytes: B) -> Result<T, <T as TryFromBytes>::Error>
fn try_from_le_bytes(bytes: B) -> Result<T, <T as TryFromBytes>::Error>
Create a value of this type from its representation as a byte array in little endian.
Source§fn try_from_be_bytes(bytes: B) -> Result<T, <T as TryFromBytes>::Error>
fn try_from_be_bytes(bytes: B) -> Result<T, <T as TryFromBytes>::Error>
Create a value of this type from its representation as a byte array in big endian.
Source§const PREFERS_LE: bool = true
const PREFERS_LE: bool = true
Is it preferred to represent this type as bytes in the little endian order?