Struct gltf::camera::Camera [−][src]
pub struct Camera<'a> { /* fields omitted */ }
Expand description
A camera’s projection. A node can reference a camera to apply a transform to place the camera in the scene.
Implementations
impl<'a> Camera<'a>
[src]
impl<'a> Camera<'a>
[src]pub fn name(&self) -> Option<&'a str>
[src]
This is supported on crate feature names
only.
pub fn name(&self) -> Option<&'a str>
[src]This is supported on crate feature
names
only.Optional user-defined name for this object.
pub fn projection(&self) -> Projection<'_>
[src]
pub fn projection(&self) -> Projection<'_>
[src]Returns the camera’s projection.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Camera<'a>
impl<'a> Send for Camera<'a>
impl<'a> Sync for Camera<'a>
impl<'a> Unpin for Camera<'a>
impl<'a> UnwindSafe for Camera<'a>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more