Struct wrapped2d::dynamics::fixture::FixtureDef
source · #[repr(C)]pub struct FixtureDef {
pub friction: f32,
pub restitution: f32,
pub density: f32,
pub is_sensor: bool,
pub filter: Filter,
/* private fields */
}
Fields§
§friction: f32
§restitution: f32
§density: f32
§is_sensor: bool
§filter: Filter
Implementations§
source§impl FixtureDef
impl FixtureDef
pub fn new() -> FixtureDef
Trait Implementations§
source§impl Clone for FixtureDef
impl Clone for FixtureDef
source§fn clone(&self) -> FixtureDef
fn clone(&self) -> FixtureDef
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for FixtureDef
impl !Send for FixtureDef
impl !Sync for FixtureDef
impl Unpin for FixtureDef
impl UnwindSafe for FixtureDef
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