pub struct CameraIndex(pub usize);Expand description
Typed index into the glTF CameraIndex[] array.
Tuple Fields§
§0: usizeImplementations§
Trait Implementations§
Source§impl Clone for CameraIndex
impl Clone for CameraIndex
Source§fn clone(&self) -> CameraIndex
fn clone(&self) -> CameraIndex
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 CameraIndex
Source§impl Debug for CameraIndex
impl Debug for CameraIndex
Source§impl Default for CameraIndex
impl Default for CameraIndex
Source§fn default() -> CameraIndex
fn default() -> CameraIndex
Returns the “default value” for a type. Read more
impl Eq for CameraIndex
Source§impl From<CameraIndex> for usize
impl From<CameraIndex> for usize
Source§fn from(value: CameraIndex) -> Self
fn from(value: CameraIndex) -> Self
Converts to this type from the input type.
Source§impl From<usize> for CameraIndex
impl From<usize> for CameraIndex
Source§impl Hash for CameraIndex
impl Hash for CameraIndex
Source§impl Ord for CameraIndex
impl Ord for CameraIndex
Source§fn cmp(&self, other: &CameraIndex) -> Ordering
fn cmp(&self, other: &CameraIndex) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CameraIndex
impl PartialEq for CameraIndex
Source§impl PartialOrd for CameraIndex
impl PartialOrd for CameraIndex
impl StructuralPartialEq for CameraIndex
Auto Trait Implementations§
impl Freeze for CameraIndex
impl RefUnwindSafe for CameraIndex
impl Send for CameraIndex
impl Sync for CameraIndex
impl Unpin for CameraIndex
impl UnsafeUnpin for CameraIndex
impl UnwindSafe for CameraIndex
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