[−][src]Enum atk::Layer
Describes the layer of a component
These enumerated "layer values" are used when determining which UI rendering layer a component is drawn into, which can help in making determinations of when components occlude one another.
Variants (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.
The object does not have a layer
This layer is reserved for the desktop background
This layer is used for Canvas components
This layer is normally used for components
This layer is used for layered components
This layer is used for popup components, such as menus
This layer is reserved for future use.
This layer is used for toplevel windows.
Trait Implementations
impl Clone for Layer
[src]
impl Copy for Layer
[src]
impl Debug for Layer
[src]
impl Display for Layer
[src]
impl Eq for Layer
[src]
impl<'a> FromValue<'a> for Layer
[src]
unsafe fn from_value(value: &Value) -> Self
[src]
impl<'a> FromValueOptional<'a> for Layer
[src]
unsafe fn from_value_optional(value: &Value) -> Option<Self>
[src]
impl Hash for Layer
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for Layer
[src]
fn cmp(&self, other: &Layer) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<Layer> for Layer
[src]
impl PartialOrd<Layer> for Layer
[src]
fn partial_cmp(&self, other: &Layer) -> Option<Ordering>
[src]
fn lt(&self, other: &Layer) -> bool
[src]
fn le(&self, other: &Layer) -> bool
[src]
fn gt(&self, other: &Layer) -> bool
[src]
fn ge(&self, other: &Layer) -> bool
[src]
impl SetValue for Layer
[src]
impl StaticType for Layer
[src]
fn static_type() -> Type
[src]
impl StructuralEq for Layer
[src]
impl StructuralPartialEq for Layer
[src]
Auto Trait Implementations
impl RefUnwindSafe for Layer
impl Send for Layer
impl Sync for Layer
impl Unpin for Layer
impl UnwindSafe for Layer
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToSendValue for T where
T: ToValue + SetValue + Send + ?Sized,
T: ToValue + SetValue + Send + ?Sized,
fn to_send_value(&self) -> SendValue
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> ToValue for T where
T: SetValue + ?Sized,
T: SetValue + ?Sized,
fn to_value(&self) -> Value
fn to_value_type(&self) -> Type
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,