pub struct Orientation { /* private fields */ }Expand description
The wire type corresponding to Orientation.
Implementations§
Source§impl Orientation
impl Orientation
pub const NORMAL: Orientation
pub const REVERSE: Orientation
Trait Implementations§
Source§impl Clone for Orientation
impl Clone for Orientation
Source§fn clone(&self) -> Orientation
fn clone(&self) -> Orientation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Constrained for Orientation
impl Constrained for Orientation
Source§type Constraint = ()
type Constraint = ()
Type of constraint information for this type.
Source§fn validate(
_: Slot<'_, Orientation>,
_: <Orientation as Constrained>::Constraint,
) -> Result<(), ValidationError>
fn validate( _: Slot<'_, Orientation>, _: <Orientation as Constrained>::Constraint, ) -> Result<(), ValidationError>
Validate a slot of this type against a constraint. Can be called when
pointers/envelopes are just presence markers.
impl Copy for Orientation
Source§impl Debug for Orientation
impl Debug for Orientation
Source§impl<___D> Decode<___D> for Orientationwhere
___D: ?Sized,
impl<___D> Decode<___D> for Orientationwhere
___D: ?Sized,
Source§impl<___E> Encode<Orientation, ___E> for Orientationwhere
___E: ?Sized,
impl<___E> Encode<Orientation, ___E> for Orientationwhere
___E: ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<Orientation>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<Orientation>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<'a, ___E> Encode<Orientation, ___E> for &'a Orientationwhere
___E: ?Sized,
impl<'a, ___E> Encode<Orientation, ___E> for &'a Orientationwhere
___E: ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<Orientation>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<Orientation>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
impl Eq for Orientation
Source§impl From<Orientation> for Orientation
impl From<Orientation> for Orientation
Source§fn from(wire: Orientation) -> Orientation
fn from(wire: Orientation) -> Orientation
Converts to this type from the input type.
Source§impl From<Orientation> for Orientation
impl From<Orientation> for Orientation
Source§fn from(natural: Orientation) -> Orientation
fn from(natural: Orientation) -> Orientation
Converts to this type from the input type.
Source§impl FromWire<Orientation> for Orientation
impl FromWire<Orientation> for Orientation
Source§fn from_wire(wire: Orientation) -> Orientation
fn from_wire(wire: Orientation) -> Orientation
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<Orientation> for Orientation
impl FromWireRef<Orientation> for Orientation
Source§fn from_wire_ref(wire: &Orientation) -> Orientation
fn from_wire_ref(wire: &Orientation) -> Orientation
Converts the given reference to this type.
Source§impl IntoNatural for Orientation
impl IntoNatural for Orientation
Source§type Natural = Orientation
type Natural = Orientation
A good default type for this wire type to convert into.
§fn into_natural(self) -> Self::Natural
fn into_natural(self) -> Self::Natural
Converts this type into its natural equivalent.
Source§impl PartialEq for Orientation
impl PartialEq for Orientation
impl StructuralPartialEq for Orientation
Source§impl Wire for Orientation
impl Wire for Orientation
Source§type Narrowed<'de> = Orientation
type Narrowed<'de> = Orientation
The narrowed wire type, restricted to the
'de lifetime.Source§fn zero_padding(_: &mut MaybeUninit<Orientation>)
fn zero_padding(_: &mut MaybeUninit<Orientation>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl Freeze for Orientation
impl RefUnwindSafe for Orientation
impl Send for Orientation
impl Sync for Orientation
impl Unpin for Orientation
impl UnsafeUnpin for Orientation
impl UnwindSafe for Orientation
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]