#[repr(C)]pub struct MaskPathPatch {
pub path: String,
pub clips: Vec<String>,
pub opacity: Option<f64>,
}Expand description
One vector coverage path entry for a native occlusion mask.
Fields§
§path: String§clips: Vec<String>§opacity: Option<f64>Trait Implementations§
Source§impl Clone for MaskPathPatch
impl Clone for MaskPathPatch
Source§fn clone(&self) -> MaskPathPatch
fn clone(&self) -> MaskPathPatch
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 MaskPathPatch
impl Debug for MaskPathPatch
Source§impl Default for MaskPathPatch
impl Default for MaskPathPatch
Source§fn default() -> MaskPathPatch
fn default() -> MaskPathPatch
Returns the “default value” for a type. Read more
impl Eq for MaskPathPatch
Source§impl Hash for MaskPathPatch
impl Hash for MaskPathPatch
Source§impl PartialEq for MaskPathPatch
impl PartialEq for MaskPathPatch
Source§impl Serialize for MaskPathPatch
impl Serialize for MaskPathPatch
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
Auto Trait Implementations§
impl Freeze for MaskPathPatch
impl RefUnwindSafe for MaskPathPatch
impl Send for MaskPathPatch
impl Sync for MaskPathPatch
impl Unpin for MaskPathPatch
impl UnsafeUnpin for MaskPathPatch
impl UnwindSafe for MaskPathPatch
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.