pub enum InstanceType {
All = 0,
Desktop = 1,
Console = 2,
Web = 4,
}Variants§
Trait Implementations§
Source§impl Clone for InstanceType
impl Clone for InstanceType
Source§fn clone(&self) -> InstanceType
fn clone(&self) -> InstanceType
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 InstanceType
Source§impl Debug for InstanceType
impl Debug for InstanceType
impl Eq for InstanceType
Source§impl Hash for InstanceType
impl Hash for InstanceType
Source§impl PartialEq for InstanceType
impl PartialEq for InstanceType
Source§fn eq(&self, other: &InstanceType) -> bool
fn eq(&self, other: &InstanceType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InstanceType
Auto Trait Implementations§
impl Freeze for InstanceType
impl RefUnwindSafe for InstanceType
impl Send for InstanceType
impl Sync for InstanceType
impl Unpin for InstanceType
impl UnsafeUnpin for InstanceType
impl UnwindSafe for InstanceType
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