pub struct ChainDefBuilder { /* private fields */ }Implementations§
Source§impl ChainDefBuilder
impl ChainDefBuilder
pub fn points<I, P>(self, points: I) -> Self
pub fn is_loop(self, v: bool) -> Self
pub fn filter(self, f: b2Filter) -> Self
pub fn enable_sensor_events(self, v: bool) -> Self
pub fn single_material(self, m: &SurfaceMaterial) -> Self
pub fn materials(self, mats: &[SurfaceMaterial]) -> Self
pub fn build(self) -> ChainDef
Trait Implementations§
Source§impl Clone for ChainDefBuilder
impl Clone for ChainDefBuilder
Source§fn clone(&self) -> ChainDefBuilder
fn clone(&self) -> ChainDefBuilder
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ChainDefBuilder
impl RefUnwindSafe for ChainDefBuilder
impl !Send for ChainDefBuilder
impl !Sync for ChainDefBuilder
impl Unpin for ChainDefBuilder
impl UnwindSafe for ChainDefBuilder
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)