pub struct SerOpts { /* private fields */ }Expand description
Options for customizing serialization.
Implementations§
Source§impl SerOpts
impl SerOpts
pub fn network_nbt() -> Self
pub fn serialize_root_compound_name(self, serialize_root_name: bool) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SerOpts
impl RefUnwindSafe for SerOpts
impl Send for SerOpts
impl Sync for SerOpts
impl Unpin for SerOpts
impl UnsafeUnpin for SerOpts
impl UnwindSafe for SerOpts
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