pub enum StdRestrict {
NotRestricted,
ClassicPlatform,
AdaptivePlatform,
}Expand description
StdRestrict is used to indicate if an element is restricted to either Classic or Adaptive
Variants§
Trait Implementations§
Source§impl Clone for StdRestrict
impl Clone for StdRestrict
Source§fn clone(&self) -> StdRestrict
fn clone(&self) -> StdRestrict
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 StdRestrict
Source§impl Debug for StdRestrict
impl Debug for StdRestrict
impl Eq for StdRestrict
Source§impl PartialEq for StdRestrict
impl PartialEq for StdRestrict
impl StructuralPartialEq for StdRestrict
Auto Trait Implementations§
impl Freeze for StdRestrict
impl RefUnwindSafe for StdRestrict
impl Send for StdRestrict
impl Sync for StdRestrict
impl Unpin for StdRestrict
impl UnsafeUnpin for StdRestrict
impl UnwindSafe for StdRestrict
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