#[repr(C)]pub struct DictionaryRef {
pub token: Handle,
}
Fields§
§token: Handle
Trait Implementations§
Source§impl Debug for DictionaryRef
impl Debug for DictionaryRef
Source§impl Encodable for DictionaryRef
impl Encodable for DictionaryRef
Source§const COPY_OPTIMIZATION: CopyOptimization<Self>
const COPY_OPTIMIZATION: CopyOptimization<Self>
An optimization flag that allows the bytes of this type to be copied directly during
encoding instead of calling
encode
. Read moreSource§type Encoded = WireDictionaryRef
type Encoded = WireDictionaryRef
The wire type for the value.
Source§impl EncodableOption for Box<DictionaryRef>
impl EncodableOption for Box<DictionaryRef>
Source§type EncodedOption = WireBox<WireDictionaryRef>
type EncodedOption = WireBox<WireDictionaryRef>
The wire type for the optional value.
Source§impl<___E> Encode<___E> for DictionaryRefwhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
impl<___E> Encode<___E> for DictionaryRefwhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
Source§impl<___E> EncodeOption<___E> for Box<DictionaryRef>where
___E: Encoder + ?Sized,
DictionaryRef: Encode<___E>,
impl<___E> EncodeOption<___E> for Box<DictionaryRef>where
___E: Encoder + ?Sized,
DictionaryRef: Encode<___E>,
Source§fn encode_option(
this: Option<&mut Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Self::EncodedOption>,
) -> Result<(), EncodeError>
fn encode_option( this: Option<&mut Self>, encoder: &mut ___E, out: &mut MaybeUninit<Self::EncodedOption>, ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl TakeFrom<WireDictionaryRef> for DictionaryRef
impl TakeFrom<WireDictionaryRef> for DictionaryRef
Source§const COPY_OPTIMIZATION: CopyOptimization<Self>
const COPY_OPTIMIZATION: CopyOptimization<Self>
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreSource§fn take_from(from: &WireDictionaryRef) -> Self
fn take_from(from: &WireDictionaryRef) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.Auto Trait Implementations§
impl Freeze for DictionaryRef
impl RefUnwindSafe for DictionaryRef
impl Send for DictionaryRef
impl Sync for DictionaryRef
impl Unpin for DictionaryRef
impl UnwindSafe for DictionaryRef
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