pub enum PatternType {
Solid,
Surface,
LinearGradient,
RadialGradient,
Mesh,
RasterSource,
// some variants omitted
}
Variants§
Trait Implementations§
Source§impl Clone for PatternType
impl Clone for PatternType
Source§fn clone(&self) -> PatternType
fn clone(&self) -> PatternType
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 PatternType
impl Debug for PatternType
Source§impl Display for PatternType
impl Display for PatternType
Source§impl<'a> FromValue<'a> for PatternType
impl<'a> FromValue<'a> for PatternType
unsafe fn from_value(value: &Value) -> Self
Source§impl<'a> FromValueOptional<'a> for PatternType
impl<'a> FromValueOptional<'a> for PatternType
unsafe fn from_value_optional(value: &Value) -> Option<Self>
Source§impl PartialEq for PatternType
impl PartialEq for PatternType
Source§impl PartialOrd for PatternType
impl PartialOrd for PatternType
Source§impl StaticType for PatternType
impl StaticType for PatternType
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Copy for PatternType
impl StructuralPartialEq for PatternType
Auto Trait Implementations§
impl Freeze for PatternType
impl RefUnwindSafe for PatternType
impl Send for PatternType
impl Sync for PatternType
impl Unpin for PatternType
impl UnwindSafe for PatternType
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
Source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.