#[non_exhaustive]pub enum LayerRole {
Weight,
Property,
}Expand description
Declared role of a property layer.
§Performance
Copying, comparing, ordering, hashing, and debug-formatting are O(1).
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.
Weight
Layer is intended to be selected as a topology weight capability.
Property
Layer is a named property with no required weight interpretation.
Trait Implementations§
impl Copy for LayerRole
impl Eq for LayerRole
Source§impl Ord for LayerRole
impl Ord for LayerRole
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 PartialOrd for LayerRole
impl PartialOrd for LayerRole
impl StructuralPartialEq for LayerRole
Auto Trait Implementations§
impl Freeze for LayerRole
impl RefUnwindSafe for LayerRole
impl Send for LayerRole
impl Sync for LayerRole
impl Unpin for LayerRole
impl UnsafeUnpin for LayerRole
impl UnwindSafe for LayerRole
Blanket Implementations§
impl<T> Allocation for T
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