pub struct PxSerializationRegistryRef(/* private fields */);Implementations§
Source§impl PxSerializationRegistryRef
impl PxSerializationRegistryRef
pub fn new(physics: &PxPhysicsRef) -> Self
pub fn complete(&self, collection: PxCollectionRef)
pub fn complete_full( &self, collection: PxCollectionRef, except_for: Option<PxCollectionRef>, follow_joints: bool, )
pub fn is_serializable( &self, collection: PxCollectionRef, external_reference: Option<PxCollectionRef>, ) -> bool
pub fn serialize_collection_to_xml( &self, out_stream: &PxDefaultMemoryOutputStream, collection: PxCollectionRef, ) -> bool
pub fn serialize_collection_to_binary( &self, out_stream: &PxDefaultMemoryOutputStream, collection: PxCollectionRef, external_refs: Option<PxCollectionRef>, export_names: Option<bool>, ) -> bool
pub fn create_collection_from_xml( &self, input_data: &PxDefaultMemoryInputData, cooking: &PxCookingRef, ) -> Option<PxCollectionRef>
pub fn release(self)
Trait Implementations§
Source§impl Clone for PxSerializationRegistryRef
impl Clone for PxSerializationRegistryRef
Source§fn clone(&self) -> PxSerializationRegistryRef
fn clone(&self) -> PxSerializationRegistryRef
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 PxSerializationRegistryRef
impl Send for PxSerializationRegistryRef
impl Sync for PxSerializationRegistryRef
Auto Trait Implementations§
impl Freeze for PxSerializationRegistryRef
impl RefUnwindSafe for PxSerializationRegistryRef
impl Unpin for PxSerializationRegistryRef
impl UnwindSafe for PxSerializationRegistryRef
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