pub struct HaCameraPerspective {
pub fov: Scalar,
pub near: Scalar,
pub far: Option<Scalar>,
}Fields§
§fov: Scalar§near: Scalar§far: Option<Scalar>Implementations§
Trait Implementations§
source§impl Clone for HaCameraPerspective
impl Clone for HaCameraPerspective
source§fn clone(&self) -> HaCameraPerspective
fn clone(&self) -> HaCameraPerspective
Returns a copy of the value. Read more
1.0.0 · 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 HaCameraPerspective
impl Debug for HaCameraPerspective
source§impl Default for HaCameraPerspective
impl Default for HaCameraPerspective
source§impl<'de> Deserialize<'de> for HaCameraPerspective
impl<'de> Deserialize<'de> for HaCameraPerspective
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<HaCameraPerspective> for HaCameraPerspective
impl PartialEq<HaCameraPerspective> for HaCameraPerspective
source§fn eq(&self, other: &HaCameraPerspective) -> bool
fn eq(&self, other: &HaCameraPerspective) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for HaCameraPerspective
impl Serialize for HaCameraPerspective
impl Copy for HaCameraPerspective
impl StructuralPartialEq for HaCameraPerspective
Auto Trait Implementations§
impl RefUnwindSafe for HaCameraPerspective
impl Send for HaCameraPerspective
impl Sync for HaCameraPerspective
impl Unpin for HaCameraPerspective
impl UnwindSafe for HaCameraPerspective
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
§impl<T> Initialize for Twhere
T: Default,
impl<T> Initialize for Twhere T: Default,
fn initialize(&mut self)
§unsafe fn initialize_raw(data: *mut ())
unsafe fn initialize_raw(data: *mut ())
Safety Read more