Enum ngt::ObjectType
source · [−]#[repr(i32)]
pub enum ObjectType {
Uint8,
Float,
}
Variants
Uint8
Float
Trait Implementations
sourceimpl Clone for ObjectType
impl Clone for ObjectType
sourcefn clone(&self) -> ObjectType
fn clone(&self) -> ObjectType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ObjectType
impl Debug for ObjectType
sourceimpl PartialEq<ObjectType> for ObjectType
impl PartialEq<ObjectType> for ObjectType
sourceimpl TryFrom<i32> for ObjectType
impl TryFrom<i32> for ObjectType
type Error = TryFromPrimitiveError<ObjectType>
type Error = TryFromPrimitiveError<ObjectType>
The type returned in the event of a conversion error.
sourcefn try_from(number: i32) -> Result<Self, TryFromPrimitiveError<Self>>
fn try_from(number: i32) -> Result<Self, TryFromPrimitiveError<Self>>
Performs the conversion.
sourceimpl TryFromPrimitive for ObjectType
impl TryFromPrimitive for ObjectType
type Primitive = i32
const NAME: &'static str = "ObjectType"
fn try_from_primitive(
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for ObjectType
impl StructuralPartialEq for ObjectType
Auto Trait Implementations
impl RefUnwindSafe for ObjectType
impl Send for ObjectType
impl Sync for ObjectType
impl Unpin for ObjectType
impl UnwindSafe for ObjectType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more