pub enum BlockStmtOrExprField {
BlockStmt,
Expr,
}
Expand description
This enum represents fields of BlockStmtOrExprField
Variants§
Implementations§
Trait Implementations§
source§impl Clone for BlockStmtOrExprField
impl Clone for BlockStmtOrExprField
source§fn clone(&self) -> BlockStmtOrExprField
fn clone(&self) -> BlockStmtOrExprField
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 BlockStmtOrExprField
impl Debug for BlockStmtOrExprField
source§impl<'de> Deserialize<'de> for BlockStmtOrExprField
impl<'de> Deserialize<'de> for BlockStmtOrExprField
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 Hash for BlockStmtOrExprField
impl Hash for BlockStmtOrExprField
source§impl Ord for BlockStmtOrExprField
impl Ord for BlockStmtOrExprField
source§fn cmp(&self, other: &BlockStmtOrExprField) -> Ordering
fn cmp(&self, other: &BlockStmtOrExprField) -> 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 BlockStmtOrExprField
impl PartialEq for BlockStmtOrExprField
source§fn eq(&self, other: &BlockStmtOrExprField) -> bool
fn eq(&self, other: &BlockStmtOrExprField) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BlockStmtOrExprField
impl PartialOrd for BlockStmtOrExprField
source§fn partial_cmp(&self, other: &BlockStmtOrExprField) -> Option<Ordering>
fn partial_cmp(&self, other: &BlockStmtOrExprField) -> 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 Serialize for BlockStmtOrExprField
impl Serialize for BlockStmtOrExprField
impl Copy for BlockStmtOrExprField
impl Eq for BlockStmtOrExprField
impl StructuralPartialEq for BlockStmtOrExprField
Auto Trait Implementations§
impl Freeze for BlockStmtOrExprField
impl RefUnwindSafe for BlockStmtOrExprField
impl Send for BlockStmtOrExprField
impl Sync for BlockStmtOrExprField
impl Unpin for BlockStmtOrExprField
impl UnwindSafe for BlockStmtOrExprField
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