Struct aldrin_core::StructSerializer
source · pub struct StructSerializer<'a> { /* private fields */ }
Implementations§
source§impl<'a> StructSerializer<'a>
impl<'a> StructSerializer<'a>
pub fn remaining_fields(&self) -> usize
pub fn requires_additional_fields(&self) -> bool
pub fn serialize_field<T: Serialize + ?Sized>( &mut self, id: u32, value: &T ) -> Result<&mut Self, SerializeError>
pub fn finish(self) -> Result<(), SerializeError>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for StructSerializer<'a>
impl<'a> RefUnwindSafe for StructSerializer<'a>
impl<'a> Send for StructSerializer<'a>
impl<'a> Sync for StructSerializer<'a>
impl<'a> Unpin for StructSerializer<'a>
impl<'a> !UnwindSafe for StructSerializer<'a>
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