pub struct Options { /* private fields */ }Implementations§
Source§impl Options
impl Options
pub fn new(options: u8) -> Self
pub fn idle_animation(&self) -> bool
pub fn idle_animation_mut(&mut self) -> &mut bool
pub fn move_animation(&self) -> bool
pub fn move_animation_mut(&mut self) -> &mut bool
pub fn fixed_direction(&self) -> bool
pub fn fixed_direction_mut(&mut self) -> &mut bool
pub fn slip_through(&self) -> bool
pub fn slip_through_mut(&mut self) -> &mut bool
pub fn above_hero(&self) -> bool
pub fn above_hero_mut(&mut self) -> &mut bool
pub fn square_hitbox(&self) -> bool
pub fn square_hitbox_mut(&mut self) -> &mut bool
pub fn half_step_up(&self) -> bool
pub fn half_step_up_mut(&mut self) -> &mut bool
Trait Implementations§
impl StructuralPartialEq for Options
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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