Struct webrender::gpu_types::ClipMaskInstanceCommon
source · #[repr(C)]pub struct ClipMaskInstanceCommon {
pub sub_rect: DeviceRect,
pub task_origin: DevicePoint,
pub screen_origin: DevicePoint,
pub device_pixel_scale: f32,
pub clip_transform_id: TransformPaletteId,
pub prim_transform_id: TransformPaletteId,
}
Fields§
§sub_rect: DeviceRect
§task_origin: DevicePoint
§screen_origin: DevicePoint
§device_pixel_scale: f32
§clip_transform_id: TransformPaletteId
§prim_transform_id: TransformPaletteId
Trait Implementations§
source§impl Clone for ClipMaskInstanceCommon
impl Clone for ClipMaskInstanceCommon
source§fn clone(&self) -> ClipMaskInstanceCommon
fn clone(&self) -> ClipMaskInstanceCommon
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 ClipMaskInstanceCommon
impl Debug for ClipMaskInstanceCommon
source§impl Serialize for ClipMaskInstanceCommon
impl Serialize for ClipMaskInstanceCommon
impl Copy for ClipMaskInstanceCommon
Auto Trait Implementations§
impl Freeze for ClipMaskInstanceCommon
impl RefUnwindSafe for ClipMaskInstanceCommon
impl Send for ClipMaskInstanceCommon
impl Sync for ClipMaskInstanceCommon
impl Unpin for ClipMaskInstanceCommon
impl UnwindSafe for ClipMaskInstanceCommon
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more