pub struct Director { /* private fields */ }Implementations§
Source§impl Director
impl Director
pub fn new( level: Level, preset: Preset, rest_focus: f32, rest_blur: f32, ) -> Self
pub fn level(&self) -> Level
pub fn stepping(&self) -> Stepping
pub fn set_stepping(&mut self, stepping: Stepping)
pub fn with_stepping(self, stepping: Stepping) -> Self
pub fn set_level(&mut self, level: Level)
pub fn set_rest_focus(&mut self, focus: f32)
pub fn set_rest_blur(&mut self, blur: f32)
pub fn set_wander(&mut self, target: Option<Aim>)
pub fn hush(&mut self, reading: bool)
pub fn cursor(&mut self, x: f32, y: f32, busy: bool)
pub fn attend(&mut self, target: Aim)
pub fn release(&mut self)
pub fn glance(&mut self, target: Aim, hold: f32)
pub fn nudge(&mut self)
pub fn zoom_by(&mut self, steps: f32)
pub fn step(&mut self, dt: f32) -> Pose
pub fn advance_to(&mut self, to: f32) -> Pose
pub fn settled(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Director
impl RefUnwindSafe for Director
impl Send for Director
impl Sync for Director
impl Unpin for Director
impl UnsafeUnpin for Director
impl UnwindSafe for Director
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