#[repr(transparent)]pub struct ActorValue_u8(pub u8);
Expand description
Since ActorValueType is separated by u32 and u8, we have no choice but to have a separate type.
Use to_enum
/from_enum
Tuple Fields§
§0: u8
Implementations§
Source§impl ActorValue_u8
impl ActorValue_u8
pub const fn to_enum(self) -> Option<ActorValue>
pub const fn from_enum(value: ActorValue) -> Self
Trait Implementations§
Source§impl Clone for ActorValue_u8
impl Clone for ActorValue_u8
Source§fn clone(&self) -> ActorValue_u8
fn clone(&self) -> ActorValue_u8
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ActorValue_u8
impl Debug for ActorValue_u8
Source§impl Default for ActorValue_u8
impl Default for ActorValue_u8
Source§fn default() -> ActorValue_u8
fn default() -> ActorValue_u8
Returns the “default value” for a type. Read more
Source§impl Hash for ActorValue_u8
impl Hash for ActorValue_u8
Source§impl Ord for ActorValue_u8
impl Ord for ActorValue_u8
Source§fn cmp(&self, other: &ActorValue_u8) -> Ordering
fn cmp(&self, other: &ActorValue_u8) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ActorValue_u8
impl PartialEq for ActorValue_u8
Source§impl PartialOrd for ActorValue_u8
impl PartialOrd for ActorValue_u8
impl Copy for ActorValue_u8
impl Eq for ActorValue_u8
impl StructuralPartialEq for ActorValue_u8
Auto Trait Implementations§
impl Freeze for ActorValue_u8
impl RefUnwindSafe for ActorValue_u8
impl Send for ActorValue_u8
impl Sync for ActorValue_u8
impl Unpin for ActorValue_u8
impl UnwindSafe for ActorValue_u8
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