pub struct PxCollectionRef(/* private fields */);
Implementations§
Source§impl PxCollectionRef
impl PxCollectionRef
pub fn new() -> Self
pub fn add(&mut self, object: PxBaseRef)
pub fn add_with_serial_id(&mut self, object: PxBaseRef, id: PxSerialObjectId)
pub fn get_objects(&self) -> Vec<(PxSerialObjectId, PxAny)>
pub fn release(&mut self)
Trait Implementations§
Source§impl Clone for PxCollectionRef
impl Clone for PxCollectionRef
Source§fn clone(&self) -> PxCollectionRef
fn clone(&self) -> PxCollectionRef
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 moreimpl Copy for PxCollectionRef
impl Send for PxCollectionRef
impl Sync for PxCollectionRef
Auto Trait Implementations§
impl Freeze for PxCollectionRef
impl RefUnwindSafe for PxCollectionRef
impl Unpin for PxCollectionRef
impl UnwindSafe for PxCollectionRef
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