pub struct ObstructionSettings {
pub radius: f32,
pub padding: f32,
pub release_half_life: f32,
pub sweep_motion: bool,
}Fields§
§radius: f32§padding: f32§release_half_life: f32Retract immediately, ease back out after an obstacle clears.
sweep_motion: boolTrait Implementations§
Source§impl Clone for ObstructionSettings
impl Clone for ObstructionSettings
Source§fn clone(&self) -> ObstructionSettings
fn clone(&self) -> ObstructionSettings
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 ObstructionSettings
impl Debug for ObstructionSettings
Source§impl Default for ObstructionSettings
impl Default for ObstructionSettings
Source§fn default() -> ObstructionSettings
fn default() -> ObstructionSettings
Returns the “default value” for a type. Read more
Source§impl PartialEq for ObstructionSettings
impl PartialEq for ObstructionSettings
impl Copy for ObstructionSettings
impl StructuralPartialEq for ObstructionSettings
Auto Trait Implementations§
impl Freeze for ObstructionSettings
impl RefUnwindSafe for ObstructionSettings
impl Send for ObstructionSettings
impl Sync for ObstructionSettings
impl Unpin for ObstructionSettings
impl UnwindSafe for ObstructionSettings
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