#[repr(u64)]pub enum CameraCapability {
OpenGlTexture = 1,
RawFramebuffer = 2,
}Variants§
Trait Implementations§
Source§impl BitAnd for CameraCapability
impl BitAnd for CameraCapability
Source§impl BitFlag for CameraCapability
impl BitFlag for CameraCapability
Source§fn empty() -> BitFlags<Self>
fn empty() -> BitFlags<Self>
Create a
BitFlags with no flags set (in other words, with a value of 0). Read moreSource§fn from_bits(bits: Self::Numeric) -> Result<BitFlags<Self>, FromBitsError<Self>>
fn from_bits(bits: Self::Numeric) -> Result<BitFlags<Self>, FromBitsError<Self>>
Create a
BitFlags if the raw value provided does not contain
any illegal flags. Read moreSource§fn from_bits_truncate(bits: Self::Numeric) -> BitFlags<Self>
fn from_bits_truncate(bits: Self::Numeric) -> BitFlags<Self>
Create a
BitFlags from an underlying bitwise value. If any
invalid bits are set, ignore them. Read moreSource§unsafe fn from_bits_unchecked(bits: Self::Numeric) -> BitFlags<Self>
unsafe fn from_bits_unchecked(bits: Self::Numeric) -> BitFlags<Self>
Create a
BitFlags unsafely, without checking if the bits form
a valid bit pattern for the type. Read moreSource§impl BitOr for CameraCapability
impl BitOr for CameraCapability
Source§impl BitXor for CameraCapability
impl BitXor for CameraCapability
Source§impl Clone for CameraCapability
impl Clone for CameraCapability
Source§fn clone(&self) -> CameraCapability
fn clone(&self) -> CameraCapability
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 moreSource§impl Debug for CameraCapability
impl Debug for CameraCapability
Source§impl Hash for CameraCapability
impl Hash for CameraCapability
Source§impl Not for CameraCapability
impl Not for CameraCapability
Source§impl PartialEq for CameraCapability
impl PartialEq for CameraCapability
Source§fn eq(&self, other: &CameraCapability) -> bool
fn eq(&self, other: &CameraCapability) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RawBitFlags for CameraCapability
impl RawBitFlags for CameraCapability
impl Copy for CameraCapability
impl Eq for CameraCapability
impl StructuralPartialEq for CameraCapability
Auto Trait Implementations§
impl Freeze for CameraCapability
impl RefUnwindSafe for CameraCapability
impl Send for CameraCapability
impl Sync for CameraCapability
impl Unpin for CameraCapability
impl UnsafeUnpin for CameraCapability
impl UnwindSafe for CameraCapability
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