Struct comfy::QuadUniform
source · #[repr(C)]pub struct QuadUniform {
pub clip_position: [f32; 2],
pub size: [f32; 2],
}Fields§
§clip_position: [f32; 2]§size: [f32; 2]Trait Implementations§
source§impl Clone for QuadUniform
impl Clone for QuadUniform
source§fn clone(&self) -> QuadUniform
fn clone(&self) -> QuadUniform
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 QuadUniform
impl Debug for QuadUniform
source§impl Default for QuadUniform
impl Default for QuadUniform
source§fn default() -> QuadUniform
fn default() -> QuadUniform
Returns the “default value” for a type. Read more
impl Copy for QuadUniform
impl Pod for QuadUniform
Auto Trait Implementations§
impl RefUnwindSafe for QuadUniform
impl Send for QuadUniform
impl Sync for QuadUniform
impl Unpin for QuadUniform
impl UnwindSafe for QuadUniform
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
§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere T: AnyBitPattern,
§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.