pub struct AvatarDefaults {
pub radius: f32,
pub height: f32,
pub step_height: f32,
pub slope_limit_degrees: f32,
pub mass: f32,
pub input_scheme: String,
}Expand description
Default avatar configuration for a content pack.
Fields§
§radius: f32§height: f32§step_height: f32§slope_limit_degrees: f32§mass: f32§input_scheme: StringTrait Implementations§
Source§impl Clone for AvatarDefaults
impl Clone for AvatarDefaults
Source§fn clone(&self) -> AvatarDefaults
fn clone(&self) -> AvatarDefaults
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 AvatarDefaults
impl Debug for AvatarDefaults
Source§impl Default for AvatarDefaults
impl Default for AvatarDefaults
Source§impl<'de> Deserialize<'de> for AvatarDefaults
impl<'de> Deserialize<'de> for AvatarDefaults
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AvatarDefaults
impl RefUnwindSafe for AvatarDefaults
impl Send for AvatarDefaults
impl Sync for AvatarDefaults
impl Unpin for AvatarDefaults
impl UnsafeUnpin for AvatarDefaults
impl UnwindSafe for AvatarDefaults
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