#[repr(C)]pub struct NativeMaskPatch {
pub id: u32,
pub size_x: f64,
pub size_y: f64,
pub entries: Vec<MaskPathPatch>,
}Expand description
Create/update patch for a native occlusion mask surface.
Fields§
§id: u32§size_x: f64§size_y: f64§entries: Vec<MaskPathPatch>Trait Implementations§
Source§impl Clone for NativeMaskPatch
impl Clone for NativeMaskPatch
Source§fn clone(&self) -> NativeMaskPatch
fn clone(&self) -> NativeMaskPatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NativeMaskPatch
impl Debug for NativeMaskPatch
Source§impl Default for NativeMaskPatch
impl Default for NativeMaskPatch
Source§fn default() -> NativeMaskPatch
fn default() -> NativeMaskPatch
Returns the “default value” for a type. Read more
Source§impl PartialEq for NativeMaskPatch
impl PartialEq for NativeMaskPatch
Source§impl Serialize for NativeMaskPatch
impl Serialize for NativeMaskPatch
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for NativeMaskPatch
Auto Trait Implementations§
impl Freeze for NativeMaskPatch
impl RefUnwindSafe for NativeMaskPatch
impl Send for NativeMaskPatch
impl Sync for NativeMaskPatch
impl Unpin for NativeMaskPatch
impl UnsafeUnpin for NativeMaskPatch
impl UnwindSafe for NativeMaskPatch
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.