#[repr(C)]pub struct DrawUniforms {
pub draw_clip_x1: f32,
pub draw_clip_y1: f32,
pub draw_clip_x2: f32,
pub draw_clip_y2: f32,
pub draw_scroll_x: f32,
pub draw_scroll_y: f32,
pub draw_scroll_z: f32,
pub draw_scroll_w: f32,
pub draw_zbias: f32,
pub pad1: f32,
pub pad2: f32,
pub pad3: f32,
}
Fields§
§draw_clip_x1: f32
§draw_clip_y1: f32
§draw_clip_x2: f32
§draw_clip_y2: f32
§draw_scroll_x: f32
§draw_scroll_y: f32
§draw_scroll_z: f32
§draw_scroll_w: f32
§draw_zbias: f32
§pad1: f32
§pad2: f32
§pad3: f32
Implementations§
Trait Implementations§
Source§impl Clone for DrawUniforms
impl Clone for DrawUniforms
Source§fn clone(&self) -> DrawUniforms
fn clone(&self) -> DrawUniforms
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 DrawUniforms
impl Default for DrawUniforms
Source§fn default() -> DrawUniforms
fn default() -> DrawUniforms
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DrawUniforms
impl RefUnwindSafe for DrawUniforms
impl Send for DrawUniforms
impl Sync for DrawUniforms
impl Unpin for DrawUniforms
impl UnwindSafe for DrawUniforms
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