Struct Directformat
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§
§impl Clone for Directformat
impl Clone for Directformat
§fn clone(&self) -> Directformat
fn clone(&self) -> Directformat
Returns a copy 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 more§impl Debug for Directformat
impl Debug for Directformat
§impl Default for Directformat
impl Default for Directformat
§fn default() -> Directformat
fn default() -> Directformat
Returns the “default value” for a type. Read more
§impl Serialize for Directformat
impl Serialize for Directformat
§impl TryParse for Directformat
impl TryParse for Directformat
§fn try_parse(remaining: &[u8]) -> Result<(Directformat, &[u8]), ParseError>
fn try_parse(remaining: &[u8]) -> Result<(Directformat, &[u8]), ParseError>
Try to parse the given values into an instance of this type. Read more
impl Copy for Directformat
Auto Trait Implementations§
impl Freeze for Directformat
impl RefUnwindSafe for Directformat
impl Send for Directformat
impl Sync for Directformat
impl Unpin for Directformat
impl UnwindSafe for Directformat
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> TryParseFd for Twhere
T: TryParse,
impl<T> TryParseFd for Twhere
T: TryParse,
§fn try_parse_fd<'a>(
value: &'a [u8],
_: &mut Vec<OwnedFd>,
) -> Result<(T, &'a [u8]), ParseError>
fn try_parse_fd<'a>( value: &'a [u8], _: &mut Vec<OwnedFd>, ) -> Result<(T, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more