pub struct PlaneCamera {
pub pan_x: f32,
pub pan_y: f32,
pub zoom: f32,
pub rotation: f32,
pub origin_x: f32,
pub origin_y: f32,
pub focus: f32,
pub aperture: f32,
pub rotate_x: f32,
pub rotate_y: f32,
pub perspective: f32,
}Fields§
§pan_x: f32§pan_y: f32§zoom: f32§rotation: f32§origin_x: f32§origin_y: f32§focus: f32§aperture: f32§rotate_x: f32§rotate_y: f32§perspective: f32Trait Implementations§
Source§impl Clone for PlaneCamera
impl Clone for PlaneCamera
impl Copy for PlaneCamera
Source§impl Debug for PlaneCamera
impl Debug for PlaneCamera
Source§impl PartialEq for PlaneCamera
impl PartialEq for PlaneCamera
impl StructuralPartialEq for PlaneCamera
Auto Trait Implementations§
impl Freeze for PlaneCamera
impl RefUnwindSafe for PlaneCamera
impl Send for PlaneCamera
impl Sync for PlaneCamera
impl Unpin for PlaneCamera
impl UnsafeUnpin for PlaneCamera
impl UnwindSafe for PlaneCamera
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more