pub struct BitmapDataFlags {
pub power_of_two_dimensions: bool,
pub compressed: bool,
pub palettized: bool,
pub swizzled: bool,
pub linear: bool,
pub v16u16: bool,
pub unused: bool,
pub make_it_actually_work: bool,
pub external: bool,
pub environment: bool,
}Fields§
§power_of_two_dimensions: bool§compressed: bool§palettized: bool§swizzled: bool§linear: bool§v16u16: bool§unused: bool§make_it_actually_work: bool§external: bool§environment: boolImplementations§
Trait Implementations§
Source§impl Clone for BitmapDataFlags
impl Clone for BitmapDataFlags
Source§fn clone(&self) -> BitmapDataFlags
fn clone(&self) -> BitmapDataFlags
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for BitmapDataFlags
impl Default for BitmapDataFlags
Source§fn default() -> BitmapDataFlags
fn default() -> BitmapDataFlags
Returns the “default value” for a type. Read more
Source§impl PartialEq for BitmapDataFlags
impl PartialEq for BitmapDataFlags
Source§impl TagSerialize for BitmapDataFlags
impl TagSerialize for BitmapDataFlags
Source§fn into_tag(
&self,
data: &mut Vec<u8>,
at: usize,
struct_end: usize,
) -> ErrorMessageResult<()>
fn into_tag( &self, data: &mut Vec<u8>, at: usize, struct_end: usize, ) -> ErrorMessageResult<()>
Serialize the data into tag format, returning an error on failure (except for out-of-bounds and allocation errors which will panic).
Source§fn from_tag(
data: &[u8],
at: usize,
struct_end: usize,
cursor: &mut usize,
) -> ErrorMessageResult<BitmapDataFlags>
fn from_tag( data: &[u8], at: usize, struct_end: usize, cursor: &mut usize, ) -> ErrorMessageResult<BitmapDataFlags>
Deserialize the data from tag format, returning an error on failure (except for allocation errors which will panic).
Source§fn into_tag_cached(
&self,
data: &mut [u8],
at: usize,
struct_end: usize,
) -> ErrorMessageResult<()>where
Self: Sized,
fn into_tag_cached(
&self,
data: &mut [u8],
at: usize,
struct_end: usize,
) -> ErrorMessageResult<()>where
Self: Sized,
Serialize the data into tag format in little endian, returning an error on failure (except for out-of-bounds and allocation errors which will panic).
Source§fn from_tag_cached(
data: &[u8],
at: usize,
struct_end: usize,
) -> ErrorMessageResult<Self>where
Self: Sized,
fn from_tag_cached(
data: &[u8],
at: usize,
struct_end: usize,
) -> ErrorMessageResult<Self>where
Self: Sized,
Deserialize the data from tag format from little endian, returning an error on failure (except for allocation errors which will panic).
impl Copy for BitmapDataFlags
impl StructuralPartialEq for BitmapDataFlags
Auto Trait Implementations§
impl Freeze for BitmapDataFlags
impl RefUnwindSafe for BitmapDataFlags
impl Send for BitmapDataFlags
impl Sync for BitmapDataFlags
impl Unpin for BitmapDataFlags
impl UnwindSafe for BitmapDataFlags
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