pub struct DecodeOptions<'db> { /* private fields */ }Expand description
Options available for deserializing an XML-format model or place.
Implementations§
Source§impl<'db> DecodeOptions<'db>
 
impl<'db> DecodeOptions<'db>
Sourcepub fn property_behavior(
    self,
    property_behavior: DecodePropertyBehavior,
) -> Self
 
pub fn property_behavior( self, property_behavior: DecodePropertyBehavior, ) -> Self
Determines how rbx_xml will deserialize properties, especially unknown ones.
Sourcepub fn reflection_database(self, database: &'db ReflectionDatabase<'db>) -> Self
 
pub fn reflection_database(self, database: &'db ReflectionDatabase<'db>) -> Self
Determines what reflection database rbx_xml will use to deserialize properties.
Trait Implementations§
Source§impl<'db> Clone for DecodeOptions<'db>
 
impl<'db> Clone for DecodeOptions<'db>
Source§fn clone(&self) -> DecodeOptions<'db>
 
fn clone(&self) -> DecodeOptions<'db>
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 moreSource§impl<'db> Debug for DecodeOptions<'db>
 
impl<'db> Debug for DecodeOptions<'db>
Source§impl<'db> Default for DecodeOptions<'db>
 
impl<'db> Default for DecodeOptions<'db>
Source§fn default() -> DecodeOptions<'db>
 
fn default() -> DecodeOptions<'db>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'db> Freeze for DecodeOptions<'db>
impl<'db> RefUnwindSafe for DecodeOptions<'db>
impl<'db> Send for DecodeOptions<'db>
impl<'db> Sync for DecodeOptions<'db>
impl<'db> Unpin for DecodeOptions<'db>
impl<'db> UnwindSafe for DecodeOptions<'db>
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