#[repr(C)]pub struct DirConnector {
pub token: Handle,
}
Fields§
§token: Handle
Trait Implementations§
Source§impl Debug for DirConnector
impl Debug for DirConnector
Source§impl Encodable for DirConnector
impl Encodable for DirConnector
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 = WireDirConnector
type Encoded = WireDirConnector
The wire type for the value.
Source§impl EncodableOption for Box<DirConnector>
impl EncodableOption for Box<DirConnector>
Source§type EncodedOption = WireBox<WireDirConnector>
type EncodedOption = WireBox<WireDirConnector>
The wire type for the optional value.
Source§impl<___E> Encode<___E> for DirConnectorwhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
impl<___E> Encode<___E> for DirConnectorwhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
Source§impl<___E> EncodeOption<___E> for Box<DirConnector>where
___E: Encoder + ?Sized,
DirConnector: Encode<___E>,
impl<___E> EncodeOption<___E> for Box<DirConnector>where
___E: Encoder + ?Sized,
DirConnector: 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<WireDirConnector> for DirConnector
impl TakeFrom<WireDirConnector> for DirConnector
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: &WireDirConnector) -> Self
fn take_from(from: &WireDirConnector) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.Auto Trait Implementations§
impl Freeze for DirConnector
impl RefUnwindSafe for DirConnector
impl Send for DirConnector
impl Sync for DirConnector
impl Unpin for DirConnector
impl UnwindSafe for DirConnector
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