Struct breadx::auto::render::Directformat [−][src]
pub struct Directformat { pub red_shift: u16, pub red_mask: u16, pub green_shift: u16, pub green_mask: u16, pub blue_shift: u16, pub blue_mask: u16, pub alpha_shift: u16, pub alpha_mask: u16, }
Fields
red_shift: u16
red_mask: u16
green_shift: u16
green_mask: u16
blue_shift: u16
blue_mask: u16
alpha_shift: u16
alpha_mask: u16
Trait Implementations
Convert a sequence of bytes into this item.
Get the size needed to store this item in terms of bytes. Higher is better than lower here, since this is mostly used to allocate buffers for items. Read more
If this item has any file descriptors stored within, this function returns them.
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Directformat
impl Send for Directformat
impl Sync for Directformat
impl Unpin for Directformat
impl UnwindSafe for Directformat
Blanket Implementations
Mutably borrows from an owned value. Read more