pub struct Person { /* private fields */ }Implementations§
Source§impl Person
impl Person
pub fn new(tuning: PersonTuning) -> Self
pub fn started(&self) -> bool
pub fn tuning(&self) -> &PersonTuning
pub fn tuning_mut(&mut self) -> &mut PersonTuning
pub fn yaw(&self) -> f32
pub fn pitch(&self) -> f32
pub fn arm(&self) -> f32
pub fn bob_amplitude(&self) -> f32
pub fn is_third(&self) -> bool
pub fn set_third(&mut self, third: bool)
pub fn set_look(&mut self, yaw: f32, pitch: f32)
pub fn hand_over(&mut self)
pub fn restart(&mut self)
pub fn tick( &mut self, dt: f32, input: &Input, comfort: Comfort, probe: &dyn Probe, )
pub fn pose(&self, alpha: f32) -> View
Trait Implementations§
impl StructuralPartialEq for Person
Auto Trait Implementations§
impl Freeze for Person
impl RefUnwindSafe for Person
impl Send for Person
impl Sync for Person
impl Unpin for Person
impl UnsafeUnpin for Person
impl UnwindSafe for Person
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