#[non_exhaustive]pub enum ShadowType {
None,
In,
Out,
EtchedIn,
EtchedOut,
}Expand description
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
None
No outline.
In
The outline is bevelled inwards.
Out
The outline is bevelled outwards like a button.
EtchedIn
The outline has a sunken 3d appearance.
EtchedOut
The outline has a raised 3d appearance.
Trait Implementations§
Source§impl Clone for ShadowType
impl Clone for ShadowType
Source§fn clone(&self) -> ShadowType
fn clone(&self) -> ShadowType
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 moreimpl Copy for ShadowType
Source§impl Debug for ShadowType
impl Debug for ShadowType
impl Eq for ShadowType
Source§impl From<ShadowType> for Value
impl From<ShadowType> for Value
Source§fn from(v: ShadowType) -> Self
fn from(v: ShadowType) -> Self
Converts to this type from the input type.
Source§impl<'a> FromValue<'a> for ShadowType
impl<'a> FromValue<'a> for ShadowType
Source§type Checker = GenericValueTypeChecker<ShadowType>
type Checker = GenericValueTypeChecker<ShadowType>
Value type checker.
Source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value. Read moreSource§impl HasParamSpec for ShadowType
impl HasParamSpec for ShadowType
type ParamSpec = ParamSpecEnum
Source§type SetValue = ShadowType
type SetValue = ShadowType
Preferred value to be used as setter for the associated ParamSpec.
type BuilderFn = fn(&str, ShadowType) -> ParamSpecEnumBuilder<'_, ShadowType>
fn param_spec_builder() -> Self::BuilderFn
Source§impl Hash for ShadowType
impl Hash for ShadowType
Source§impl Ord for ShadowType
impl Ord for ShadowType
Source§fn cmp(&self, other: &ShadowType) -> Ordering
fn cmp(&self, other: &ShadowType) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ShadowType
impl PartialEq for ShadowType
Source§impl PartialOrd for ShadowType
impl PartialOrd for ShadowType
Source§impl StaticType for ShadowType
impl StaticType for ShadowType
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self.impl StructuralPartialEq for ShadowType
Source§impl ToValue for ShadowType
impl ToValue for ShadowType
Source§impl ValueType for ShadowType
impl ValueType for ShadowType
Source§type Type = ShadowType
type Type = ShadowType
Type to get the
Type from. Read moreAuto Trait Implementations§
impl Freeze for ShadowType
impl RefUnwindSafe for ShadowType
impl Send for ShadowType
impl Sync for ShadowType
impl Unpin for ShadowType
impl UnsafeUnpin for ShadowType
impl UnwindSafe for ShadowType
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> IntoClosureReturnValue for T
impl<T> IntoClosureReturnValue for T
fn into_closure_return_value(self) -> Option<Value>
Source§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere
T: HasParamSpec,
Source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
Source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
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.