pub struct Object;Expand description
Object: Option<ObjectRef>, None for a nil reference.
Trait Implementations§
Source§impl IdlType for Object
impl IdlType for Object
Source§const MIN_SIZE: usize = 4
const MIN_SIZE: usize = 4
The smallest size of a value on the wire, to check the lengths of
sequences before reading them.
Source§type Borrowed = Option<ObjectRef>
type Borrowed = Option<ObjectRef>
What is written:
str for strings, a slice for sequences, else
Rust itself.Auto Trait Implementations§
impl Forget for Object
impl Freeze for Object
impl RefUnwindSafe for Object
impl Send for Object
impl Sync for Object
impl Unpin for Object
impl UnsafeUnpin for Object
impl UnwindSafe for Object
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