pub struct PropertyArrayEncoder { /* private fields */ }Expand description
Property array encoder
Implementations§
Source§impl PropertyArrayEncoder
impl PropertyArrayEncoder
Sourcepub fn add_property<T: EncodableValue>(
&mut self,
property_id: u32,
value: T,
) -> Result<()>
pub fn add_property<T: EncodableValue>( &mut self, property_id: u32, value: T, ) -> Result<()>
Add a property value
Trait Implementations§
Source§impl Default for PropertyArrayEncoder
impl Default for PropertyArrayEncoder
Source§fn default() -> PropertyArrayEncoder
fn default() -> PropertyArrayEncoder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PropertyArrayEncoder
impl RefUnwindSafe for PropertyArrayEncoder
impl Send for PropertyArrayEncoder
impl Sync for PropertyArrayEncoder
impl Unpin for PropertyArrayEncoder
impl UnsafeUnpin for PropertyArrayEncoder
impl UnwindSafe for PropertyArrayEncoder
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