pub enum BlockKindUnit {
Event(EventBlockKindUnit),
ExprCmp(ExprOrCmpBlockKindUnit),
Stmt(StmtBlockKindUnit),
Proc(ProcKindUnit),
}Expand description
main block type is BlockKind
Variants§
Event(EventBlockKindUnit)
ExprCmp(ExprOrCmpBlockKindUnit)
Stmt(StmtBlockKindUnit)
Proc(ProcKindUnit)
Trait Implementations§
Source§impl Clone for BlockKindUnit
impl Clone for BlockKindUnit
Source§fn clone(&self) -> BlockKindUnit
fn clone(&self) -> BlockKindUnit
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 BlockKindUnit
Source§impl Debug for BlockKindUnit
impl Debug for BlockKindUnit
Source§impl<'de> Deserialize<'de> for BlockKindUnit
impl<'de> Deserialize<'de> for BlockKindUnit
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for BlockKindUnit
impl Display for BlockKindUnit
impl Eq for BlockKindUnit
Source§impl From<CmpBlockKindUnit> for BlockKindUnit
impl From<CmpBlockKindUnit> for BlockKindUnit
Source§fn from(value: CmpBlockKindUnit) -> Self
fn from(value: CmpBlockKindUnit) -> Self
Converts to this type from the input type.
Source§impl From<EventBlockKindUnit> for BlockKindUnit
impl From<EventBlockKindUnit> for BlockKindUnit
Source§fn from(value: EventBlockKindUnit) -> Self
fn from(value: EventBlockKindUnit) -> Self
Converts to this type from the input type.
Source§impl From<ExprBlockKindUnit> for BlockKindUnit
impl From<ExprBlockKindUnit> for BlockKindUnit
Source§fn from(value: ExprBlockKindUnit) -> Self
fn from(value: ExprBlockKindUnit) -> Self
Converts to this type from the input type.
Source§impl From<ExprOrCmpBlockKindUnit> for BlockKindUnit
impl From<ExprOrCmpBlockKindUnit> for BlockKindUnit
Source§fn from(value: ExprOrCmpBlockKindUnit) -> Self
fn from(value: ExprOrCmpBlockKindUnit) -> Self
Converts to this type from the input type.
Source§impl From<ProcKindUnit> for BlockKindUnit
impl From<ProcKindUnit> for BlockKindUnit
Source§fn from(value: ProcKindUnit) -> Self
fn from(value: ProcKindUnit) -> Self
Converts to this type from the input type.
Source§impl From<StmtBlockKindUnit> for BlockKindUnit
impl From<StmtBlockKindUnit> for BlockKindUnit
Source§fn from(value: StmtBlockKindUnit) -> Self
fn from(value: StmtBlockKindUnit) -> Self
Converts to this type from the input type.
Source§impl Hash for BlockKindUnit
impl Hash for BlockKindUnit
Source§impl Ord for BlockKindUnit
impl Ord for BlockKindUnit
Source§fn cmp(&self, other: &BlockKindUnit) -> Ordering
fn cmp(&self, other: &BlockKindUnit) -> Ordering
1.21.0 (const: unstable) · 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 BlockKindUnit
impl PartialEq for BlockKindUnit
Source§fn eq(&self, other: &BlockKindUnit) -> bool
fn eq(&self, other: &BlockKindUnit) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for BlockKindUnit
impl PartialOrd for BlockKindUnit
Source§impl Serialize for BlockKindUnit
impl Serialize for BlockKindUnit
impl StructuralPartialEq for BlockKindUnit
Auto Trait Implementations§
impl Freeze for BlockKindUnit
impl RefUnwindSafe for BlockKindUnit
impl Send for BlockKindUnit
impl Sync for BlockKindUnit
impl Unpin for BlockKindUnit
impl UnsafeUnpin for BlockKindUnit
impl UnwindSafe for BlockKindUnit
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more