Struct azalea_block::BlockBehavior
source · [−]Fields
has_collision: boolfriction: f32jump_factor: f32Implementations
sourceimpl BlockBehavior
impl BlockBehavior
pub fn no_collision(self) -> Self
pub fn friction(self, friction: f32) -> Self
pub fn jump_factor(self, jump_factor: f32) -> Self
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BlockBehavior
impl Send for BlockBehavior
impl Sync for BlockBehavior
impl Unpin for BlockBehavior
impl UnwindSafe for BlockBehavior
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more