pub struct XmPattern {
pub header_length: u32,
pub packing_type: u8,
pub num_rows: u16,
pub packed_size: u16,
pub rows: Vec<Vec<XmCell>>,
}Expand description
One pattern header + its decoded row data.
Fields§
§header_length: u32§packing_type: u8Packing type; the spec says “always 0”.
num_rows: u16§packed_size: u16§rows: Vec<Vec<XmCell>>Decoded rows: rows[row][channel] = one cell.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for XmPattern
impl RefUnwindSafe for XmPattern
impl Send for XmPattern
impl Sync for XmPattern
impl Unpin for XmPattern
impl UnsafeUnpin for XmPattern
impl UnwindSafe for XmPattern
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