Struct comfy_wgpu::RawDrawParams
source · pub struct RawDrawParams {
pub dest_size: Option<Vec2>,
pub source_rect: Option<IRect>,
pub rotation: f32,
pub flip_x: bool,
pub flip_y: bool,
pub pivot: Option<Vec2>,
}Fields§
§dest_size: Option<Vec2>§source_rect: Option<IRect>§rotation: f32§flip_x: bool§flip_y: bool§pivot: Option<Vec2>Trait Implementations§
source§impl Clone for RawDrawParams
impl Clone for RawDrawParams
source§fn clone(&self) -> RawDrawParams
fn clone(&self) -> RawDrawParams
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 RawDrawParams
impl Debug for RawDrawParams
source§impl Default for RawDrawParams
impl Default for RawDrawParams
source§fn default() -> RawDrawParams
fn default() -> RawDrawParams
Returns the “default value” for a type. Read more
impl Copy for RawDrawParams
Auto Trait Implementations§
impl RefUnwindSafe for RawDrawParams
impl Send for RawDrawParams
impl Sync for RawDrawParams
impl Unpin for RawDrawParams
impl UnwindSafe for RawDrawParams
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