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 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 StdRestrict
impl Debug for StdRestrict
source§impl PartialEq for StdRestrict
impl PartialEq for StdRestrict
source§fn eq(&self, other: &StdRestrict) -> bool
fn eq(&self, other: &StdRestrict) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for StdRestrict
impl Eq for StdRestrict
impl StructuralEq for StdRestrict
impl StructuralPartialEq for StdRestrict
Auto Trait Implementations§
impl RefUnwindSafe for StdRestrict
impl Send for StdRestrict
impl Sync for StdRestrict
impl Unpin 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