#[repr(u8)]pub enum OutDestination {
PINS = 0,
X = 1,
Y = 2,
NULL = 3,
PINDIRS = 4,
PC = 5,
ISR = 6,
EXEC = 7,
}Variants§
Trait Implementations§
Source§impl Clone for OutDestination
impl Clone for OutDestination
Source§fn clone(&self) -> OutDestination
fn clone(&self) -> OutDestination
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 moreimpl Copy for OutDestination
Source§impl Debug for OutDestination
impl Debug for OutDestination
impl Eq for OutDestination
Source§impl PartialEq for OutDestination
impl PartialEq for OutDestination
impl StructuralPartialEq for OutDestination
Source§impl TryFrom<u8> for OutDestination
impl TryFrom<u8> for OutDestination
Source§type Error = TryFromPrimitiveError<OutDestination>
type Error = TryFromPrimitiveError<OutDestination>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for OutDestination
impl TryFromPrimitive for OutDestination
const NAME: &'static str = "OutDestination"
type Primitive = u8
type Error = TryFromPrimitiveError<OutDestination>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations§
impl Freeze for OutDestination
impl RefUnwindSafe for OutDestination
impl Send for OutDestination
impl Sync for OutDestination
impl Unpin for OutDestination
impl UnsafeUnpin for OutDestination
impl UnwindSafe for OutDestination
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