Struct three::template::CameraTemplate
source · pub struct CameraTemplate {
pub object: usize,
pub projection: Projection,
}
Expand description
A template for a Camera
object.
Fields
object: usize
projection: Projection
The projection used by the camera.
Trait Implementations
sourceimpl Clone for CameraTemplate
impl Clone for CameraTemplate
sourcefn clone(&self) -> CameraTemplate
fn clone(&self) -> CameraTemplate
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 moreAuto Trait Implementations
impl RefUnwindSafe for CameraTemplate
impl Send for CameraTemplate
impl Sync for CameraTemplate
impl Unpin for CameraTemplate
impl UnwindSafe for CameraTemplate
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
Sets
value
as a parameter of self
.