pub struct Dxn {
pub alpha0_endpoint: (u8, u8),
pub alpha0_selector: [u8; 6],
pub alpha1_endpoint: (u8, u8),
pub alpha1_selector: [u8; 6],
}Fields§
§alpha0_endpoint: (u8, u8)§alpha0_selector: [u8; 6]§alpha1_endpoint: (u8, u8)§alpha1_selector: [u8; 6]Trait Implementations§
Source§impl<'de> Deserialize<'de> for Dxn
impl<'de> Deserialize<'de> for Dxn
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
Source§impl Unpack for Dxn
impl Unpack for Dxn
fn unpack( tables: &Tables, codec: &mut Codec<'_>, width: u16, height: u16, face: u8, ) -> Result<Vec<u8>, Error>
fn next_tile_idx( codec: &mut Codec<'_>, encoding: &Huffman, tile_bits: &mut u32, ) -> Result<(usize, [usize; 4]), Error>
const TRUNK_SIZE: usize = 2
const COUNT_TILES: [usize; 8] = _
const TILES: [[usize; 4]; 8] = _
Auto Trait Implementations§
impl Freeze for Dxn
impl RefUnwindSafe for Dxn
impl Send for Dxn
impl Sync for Dxn
impl Unpin for Dxn
impl UnsafeUnpin for Dxn
impl UnwindSafe for Dxn
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more