Enum scsys_actors::states::kinds::binary::BinaryState
source · #[repr(u8)]pub enum BinaryState {
Invalid = 0,
Valid = 1,
}Variants§
Implementations§
source§impl BinaryState
impl BinaryState
sourcepub const fn is_invalid(&self) -> bool
pub const fn is_invalid(&self) -> bool
Returns true if the enum is BinaryState::Invalid otherwise false
Trait Implementations§
source§impl<'a> Add<&'a BinaryState> for BinaryState
impl<'a> Add<&'a BinaryState> for BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
+ operator.source§impl<'a> Add<BinaryState> for &'a BinaryState
impl<'a> Add<BinaryState> for &'a BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
+ operator.source§impl<'a, T> Add<T> for &'a BinaryState
impl<'a, T> Add<T> for &'a BinaryState
source§impl<T> Add<T> for BinaryState
impl<T> Add<T> for BinaryState
source§impl<'a> Add for &'a BinaryState
impl<'a> Add for &'a BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
+ operator.source§impl Add for BinaryState
impl Add for BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
+ operator.source§impl<'a> AddAssign<&'a BinaryState> for BinaryState
impl<'a> AddAssign<&'a BinaryState> for BinaryState
source§fn add_assign(&mut self, rhs: &'a BinaryState)
fn add_assign(&mut self, rhs: &'a BinaryState)
Performs the
+= operation. Read moresource§impl AddAssign for BinaryState
impl AddAssign for BinaryState
source§fn add_assign(&mut self, rhs: BinaryState)
fn add_assign(&mut self, rhs: BinaryState)
Performs the
+= operation. Read moresource§impl AsRef<str> for BinaryState
impl AsRef<str> for BinaryState
source§impl<'a> BitAnd<&'a BinaryState> for BinaryState
impl<'a> BitAnd<&'a BinaryState> for BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
& operator.source§impl<'a> BitAnd<BinaryState> for &'a BinaryState
impl<'a> BitAnd<BinaryState> for &'a BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
& operator.source§impl<'a, T> BitAnd<T> for &'a BinaryState
impl<'a, T> BitAnd<T> for &'a BinaryState
source§impl<T> BitAnd<T> for BinaryState
impl<T> BitAnd<T> for BinaryState
source§impl<'a> BitAnd for &'a BinaryState
impl<'a> BitAnd for &'a BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
& operator.source§impl BitAnd for BinaryState
impl BitAnd for BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
& operator.source§impl<'a> BitAndAssign<&'a BinaryState> for BinaryState
impl<'a> BitAndAssign<&'a BinaryState> for BinaryState
source§fn bitand_assign(&mut self, rhs: &'a BinaryState)
fn bitand_assign(&mut self, rhs: &'a BinaryState)
Performs the
&= operation. Read moresource§impl BitAndAssign for BinaryState
impl BitAndAssign for BinaryState
source§fn bitand_assign(&mut self, rhs: BinaryState)
fn bitand_assign(&mut self, rhs: BinaryState)
Performs the
&= operation. Read moresource§impl<'a> BitOr<&'a BinaryState> for BinaryState
impl<'a> BitOr<&'a BinaryState> for BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
| operator.source§impl<'a> BitOr<BinaryState> for &'a BinaryState
impl<'a> BitOr<BinaryState> for &'a BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
| operator.source§impl<'a, T> BitOr<T> for &'a BinaryState
impl<'a, T> BitOr<T> for &'a BinaryState
source§impl<T> BitOr<T> for BinaryState
impl<T> BitOr<T> for BinaryState
source§impl<'a> BitOr for &'a BinaryState
impl<'a> BitOr for &'a BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
| operator.source§impl BitOr for BinaryState
impl BitOr for BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
| operator.source§impl<'a> BitOrAssign<&'a BinaryState> for BinaryState
impl<'a> BitOrAssign<&'a BinaryState> for BinaryState
source§fn bitor_assign(&mut self, rhs: &'a BinaryState)
fn bitor_assign(&mut self, rhs: &'a BinaryState)
Performs the
|= operation. Read moresource§impl BitOrAssign for BinaryState
impl BitOrAssign for BinaryState
source§fn bitor_assign(&mut self, rhs: BinaryState)
fn bitor_assign(&mut self, rhs: BinaryState)
Performs the
|= operation. Read moresource§impl<'a> BitXor<&'a BinaryState> for BinaryState
impl<'a> BitXor<&'a BinaryState> for BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
^ operator.source§impl<'a> BitXor<BinaryState> for &'a BinaryState
impl<'a> BitXor<BinaryState> for &'a BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
^ operator.source§impl<'a, T> BitXor<T> for &'a BinaryState
impl<'a, T> BitXor<T> for &'a BinaryState
source§impl<T> BitXor<T> for BinaryState
impl<T> BitXor<T> for BinaryState
source§impl<'a> BitXor for &'a BinaryState
impl<'a> BitXor for &'a BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
^ operator.source§impl BitXor for BinaryState
impl BitXor for BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
^ operator.source§impl<'a> BitXorAssign<&'a BinaryState> for BinaryState
impl<'a> BitXorAssign<&'a BinaryState> for BinaryState
source§fn bitxor_assign(&mut self, rhs: &'a BinaryState)
fn bitxor_assign(&mut self, rhs: &'a BinaryState)
Performs the
^= operation. Read moresource§impl BitXorAssign for BinaryState
impl BitXorAssign for BinaryState
source§fn bitxor_assign(&mut self, rhs: BinaryState)
fn bitxor_assign(&mut self, rhs: BinaryState)
Performs the
^= operation. Read moresource§impl Clone for BinaryState
impl Clone for BinaryState
source§fn clone(&self) -> BinaryState
fn clone(&self) -> BinaryState
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 BinaryState
impl Debug for BinaryState
source§impl Default for BinaryState
impl Default for BinaryState
source§fn default() -> BinaryState
fn default() -> BinaryState
Returns the “default value” for a type. Read more
source§impl Display for BinaryState
impl Display for BinaryState
source§impl<'a> Div<&'a BinaryState> for BinaryState
impl<'a> Div<&'a BinaryState> for BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
/ operator.source§impl<'a> Div<BinaryState> for &'a BinaryState
impl<'a> Div<BinaryState> for &'a BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
/ operator.source§impl<'a, T> Div<T> for &'a BinaryState
impl<'a, T> Div<T> for &'a BinaryState
source§impl<T> Div<T> for BinaryState
impl<T> Div<T> for BinaryState
source§impl<'a> Div for &'a BinaryState
impl<'a> Div for &'a BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
/ operator.source§impl Div for BinaryState
impl Div for BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
/ operator.source§impl<'a> DivAssign<&'a BinaryState> for BinaryState
impl<'a> DivAssign<&'a BinaryState> for BinaryState
source§fn div_assign(&mut self, rhs: &'a BinaryState)
fn div_assign(&mut self, rhs: &'a BinaryState)
Performs the
/= operation. Read moresource§impl DivAssign for BinaryState
impl DivAssign for BinaryState
source§fn div_assign(&mut self, rhs: BinaryState)
fn div_assign(&mut self, rhs: BinaryState)
Performs the
/= operation. Read moresource§impl From<BinaryState> for i128
impl From<BinaryState> for i128
source§fn from(d: BinaryState) -> Self
fn from(d: BinaryState) -> Self
Converts to this type from the input type.
source§impl From<BinaryState> for i16
impl From<BinaryState> for i16
source§fn from(d: BinaryState) -> Self
fn from(d: BinaryState) -> Self
Converts to this type from the input type.
source§impl From<BinaryState> for i32
impl From<BinaryState> for i32
source§fn from(d: BinaryState) -> Self
fn from(d: BinaryState) -> Self
Converts to this type from the input type.
source§impl From<BinaryState> for i64
impl From<BinaryState> for i64
source§fn from(d: BinaryState) -> Self
fn from(d: BinaryState) -> Self
Converts to this type from the input type.
source§impl From<BinaryState> for i8
impl From<BinaryState> for i8
source§fn from(d: BinaryState) -> Self
fn from(d: BinaryState) -> Self
Converts to this type from the input type.
source§impl From<BinaryState> for isize
impl From<BinaryState> for isize
source§fn from(d: BinaryState) -> Self
fn from(d: BinaryState) -> Self
Converts to this type from the input type.
source§impl From<BinaryState> for u128
impl From<BinaryState> for u128
source§fn from(d: BinaryState) -> Self
fn from(d: BinaryState) -> Self
Converts to this type from the input type.
source§impl From<BinaryState> for u16
impl From<BinaryState> for u16
source§fn from(d: BinaryState) -> Self
fn from(d: BinaryState) -> Self
Converts to this type from the input type.
source§impl From<BinaryState> for u32
impl From<BinaryState> for u32
source§fn from(d: BinaryState) -> Self
fn from(d: BinaryState) -> Self
Converts to this type from the input type.
source§impl From<BinaryState> for u64
impl From<BinaryState> for u64
source§fn from(d: BinaryState) -> Self
fn from(d: BinaryState) -> Self
Converts to this type from the input type.
source§impl From<BinaryState> for u8
impl From<BinaryState> for u8
source§fn from(d: BinaryState) -> Self
fn from(d: BinaryState) -> Self
Converts to this type from the input type.
source§impl From<BinaryState> for usize
impl From<BinaryState> for usize
source§fn from(d: BinaryState) -> Self
fn from(d: BinaryState) -> Self
Converts to this type from the input type.
source§impl From<i128> for BinaryState
impl From<i128> for BinaryState
source§impl From<i16> for BinaryState
impl From<i16> for BinaryState
source§impl From<i32> for BinaryState
impl From<i32> for BinaryState
source§impl From<i64> for BinaryState
impl From<i64> for BinaryState
source§impl From<i8> for BinaryState
impl From<i8> for BinaryState
source§impl From<isize> for BinaryState
impl From<isize> for BinaryState
source§impl From<u128> for BinaryState
impl From<u128> for BinaryState
source§impl From<u16> for BinaryState
impl From<u16> for BinaryState
source§impl From<u32> for BinaryState
impl From<u32> for BinaryState
source§impl From<u64> for BinaryState
impl From<u64> for BinaryState
source§impl From<u8> for BinaryState
impl From<u8> for BinaryState
source§impl From<usize> for BinaryState
impl From<usize> for BinaryState
source§impl FromStr for BinaryState
impl FromStr for BinaryState
source§impl Hash for BinaryState
impl Hash for BinaryState
source§impl IntoEnumIterator for BinaryState
impl IntoEnumIterator for BinaryState
type Iterator = BinaryStateIter
fn iter() -> BinaryStateIter ⓘ
source§impl<'a> Mul<&'a BinaryState> for BinaryState
impl<'a> Mul<&'a BinaryState> for BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
* operator.source§impl<'a> Mul<BinaryState> for &'a BinaryState
impl<'a> Mul<BinaryState> for &'a BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
* operator.source§impl<'a, T> Mul<T> for &'a BinaryState
impl<'a, T> Mul<T> for &'a BinaryState
source§impl<T> Mul<T> for BinaryState
impl<T> Mul<T> for BinaryState
source§impl<'a> Mul for &'a BinaryState
impl<'a> Mul for &'a BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
* operator.source§impl Mul for BinaryState
impl Mul for BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
* operator.source§impl<'a> MulAssign<&'a BinaryState> for BinaryState
impl<'a> MulAssign<&'a BinaryState> for BinaryState
source§fn mul_assign(&mut self, rhs: &'a BinaryState)
fn mul_assign(&mut self, rhs: &'a BinaryState)
Performs the
*= operation. Read moresource§impl MulAssign for BinaryState
impl MulAssign for BinaryState
source§fn mul_assign(&mut self, rhs: BinaryState)
fn mul_assign(&mut self, rhs: BinaryState)
Performs the
*= operation. Read moresource§impl Not for BinaryState
impl Not for BinaryState
source§impl Ord for BinaryState
impl Ord for BinaryState
source§fn cmp(&self, other: &BinaryState) -> Ordering
fn cmp(&self, other: &BinaryState) -> 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 BinaryState
impl PartialEq for BinaryState
source§fn eq(&self, other: &BinaryState) -> bool
fn eq(&self, other: &BinaryState) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for BinaryState
impl PartialOrd for BinaryState
source§fn partial_cmp(&self, other: &BinaryState) -> Option<Ordering>
fn partial_cmp(&self, other: &BinaryState) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl<'a> Rem<&'a BinaryState> for BinaryState
impl<'a> Rem<&'a BinaryState> for BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
% operator.source§impl<'a> Rem<BinaryState> for &'a BinaryState
impl<'a> Rem<BinaryState> for &'a BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
% operator.source§impl<'a, T> Rem<T> for &'a BinaryState
impl<'a, T> Rem<T> for &'a BinaryState
source§impl<T> Rem<T> for BinaryState
impl<T> Rem<T> for BinaryState
source§impl<'a> Rem for &'a BinaryState
impl<'a> Rem for &'a BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
% operator.source§impl Rem for BinaryState
impl Rem for BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
% operator.source§impl<'a> RemAssign<&'a BinaryState> for BinaryState
impl<'a> RemAssign<&'a BinaryState> for BinaryState
source§fn rem_assign(&mut self, rhs: &'a BinaryState)
fn rem_assign(&mut self, rhs: &'a BinaryState)
Performs the
%= operation. Read moresource§impl RemAssign for BinaryState
impl RemAssign for BinaryState
source§fn rem_assign(&mut self, rhs: BinaryState)
fn rem_assign(&mut self, rhs: BinaryState)
Performs the
%= operation. Read moresource§impl<'a> Shl<&'a BinaryState> for BinaryState
impl<'a> Shl<&'a BinaryState> for BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
<< operator.source§impl<'a> Shl<BinaryState> for &'a BinaryState
impl<'a> Shl<BinaryState> for &'a BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
<< operator.source§impl<'a, T> Shl<T> for &'a BinaryState
impl<'a, T> Shl<T> for &'a BinaryState
source§impl<T> Shl<T> for BinaryState
impl<T> Shl<T> for BinaryState
source§impl<'a> Shl for &'a BinaryState
impl<'a> Shl for &'a BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
<< operator.source§impl Shl for BinaryState
impl Shl for BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
<< operator.source§impl<'a> ShlAssign<&'a BinaryState> for BinaryState
impl<'a> ShlAssign<&'a BinaryState> for BinaryState
source§fn shl_assign(&mut self, rhs: &'a BinaryState)
fn shl_assign(&mut self, rhs: &'a BinaryState)
Performs the
<<= operation. Read moresource§impl ShlAssign for BinaryState
impl ShlAssign for BinaryState
source§fn shl_assign(&mut self, rhs: BinaryState)
fn shl_assign(&mut self, rhs: BinaryState)
Performs the
<<= operation. Read moresource§impl<'a> Shr<&'a BinaryState> for BinaryState
impl<'a> Shr<&'a BinaryState> for BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
>> operator.source§impl<'a> Shr<BinaryState> for &'a BinaryState
impl<'a> Shr<BinaryState> for &'a BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
>> operator.source§impl<'a, T> Shr<T> for &'a BinaryState
impl<'a, T> Shr<T> for &'a BinaryState
source§impl<T> Shr<T> for BinaryState
impl<T> Shr<T> for BinaryState
source§impl<'a> Shr for &'a BinaryState
impl<'a> Shr for &'a BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
>> operator.source§impl Shr for BinaryState
impl Shr for BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
>> operator.source§impl<'a> ShrAssign<&'a BinaryState> for BinaryState
impl<'a> ShrAssign<&'a BinaryState> for BinaryState
source§fn shr_assign(&mut self, rhs: &'a BinaryState)
fn shr_assign(&mut self, rhs: &'a BinaryState)
Performs the
>>= operation. Read moresource§impl ShrAssign for BinaryState
impl ShrAssign for BinaryState
source§fn shr_assign(&mut self, rhs: BinaryState)
fn shr_assign(&mut self, rhs: BinaryState)
Performs the
>>= operation. Read moresource§impl<'a> Sub<&'a BinaryState> for BinaryState
impl<'a> Sub<&'a BinaryState> for BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
- operator.source§impl<'a> Sub<BinaryState> for &'a BinaryState
impl<'a> Sub<BinaryState> for &'a BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
- operator.source§impl<'a, T> Sub<T> for &'a BinaryState
impl<'a, T> Sub<T> for &'a BinaryState
source§impl<T> Sub<T> for BinaryState
impl<T> Sub<T> for BinaryState
source§impl<'a> Sub for &'a BinaryState
impl<'a> Sub for &'a BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
- operator.source§impl Sub for BinaryState
impl Sub for BinaryState
§type Output = BinaryState
type Output = BinaryState
The resulting type after applying the
- operator.source§impl<'a> SubAssign<&'a BinaryState> for BinaryState
impl<'a> SubAssign<&'a BinaryState> for BinaryState
source§fn sub_assign(&mut self, rhs: &'a BinaryState)
fn sub_assign(&mut self, rhs: &'a BinaryState)
Performs the
-= operation. Read moresource§impl SubAssign for BinaryState
impl SubAssign for BinaryState
source§fn sub_assign(&mut self, rhs: BinaryState)
fn sub_assign(&mut self, rhs: BinaryState)
Performs the
-= operation. Read moresource§impl TryFrom<&str> for BinaryState
impl TryFrom<&str> for BinaryState
source§impl VariantNames for BinaryState
impl VariantNames for BinaryState
impl Copy for BinaryState
impl Eq for BinaryState
impl StateKind for BinaryState
impl StructuralPartialEq for BinaryState
Auto Trait Implementations§
impl Freeze for BinaryState
impl RefUnwindSafe for BinaryState
impl Send for BinaryState
impl Sync for BinaryState
impl Unpin for BinaryState
impl UnwindSafe for BinaryState
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