pub struct CharacterSettings {Show 16 fields
pub skin: f32,
pub ground_snap: f32,
pub step_height: f32,
pub min_ground_normal: f32,
pub max_iterations: u32,
pub max_candidates: usize,
pub max_recovery: f32,
pub membership_mask: u32,
pub speed: f32,
pub ground_acceleration: f32,
pub air_acceleration: f32,
pub gravity: f32,
pub terminal_speed: f32,
pub jump_speed: f32,
pub coyote_time: f32,
pub jump_buffer: f32,
}Fields§
§skin: f32§ground_snap: f32§step_height: f32§min_ground_normal: f32§max_iterations: u32§max_candidates: usize§max_recovery: f32§membership_mask: u32§speed: f32§ground_acceleration: f32§air_acceleration: f32§gravity: f32§terminal_speed: f32§jump_speed: f32§coyote_time: f32§jump_buffer: f32Implementations§
Trait Implementations§
Source§impl Clone for CharacterSettings
impl Clone for CharacterSettings
Source§fn clone(&self) -> CharacterSettings
fn clone(&self) -> CharacterSettings
Returns a duplicate 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 CharacterSettings
impl Debug for CharacterSettings
Source§impl Default for CharacterSettings
impl Default for CharacterSettings
Source§fn default() -> CharacterSettings
fn default() -> CharacterSettings
Returns the “default value” for a type. Read more
impl Copy for CharacterSettings
Auto Trait Implementations§
impl Freeze for CharacterSettings
impl RefUnwindSafe for CharacterSettings
impl Send for CharacterSettings
impl Sync for CharacterSettings
impl Unpin for CharacterSettings
impl UnwindSafe for CharacterSettings
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