Struct xcb::render::Directformat
source · #[repr(C)]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§
source§impl Clone for Directformat
impl Clone for Directformat
source§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 moresource§impl Debug for Directformat
impl Debug for Directformat
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
)