Enum ExprOrCmpBlockKind
pub enum ExprOrCmpBlockKind {
Expr(ExprBlockKind),
Cmp(CmpBlockKind),
}Variants§
Expr(ExprBlockKind)
Cmp(CmpBlockKind)
Trait Implementations§
§impl Clone for ExprOrCmpBlockKind
impl Clone for ExprOrCmpBlockKind
§fn clone(&self) -> ExprOrCmpBlockKind
fn clone(&self) -> ExprOrCmpBlockKind
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 more§impl Debug for ExprOrCmpBlockKind
impl Debug for ExprOrCmpBlockKind
§impl<'a, S> DoForAttrs<'a, S> for ExprOrCmpBlockKind
impl<'a, S> DoForAttrs<'a, S> for ExprOrCmpBlockKind
fn do_for_attrs( &'a self, inputs: &<S as DoForAttrsStrategy<'a>>::Inputs, outputs: &mut <S as DoForAttrsStrategy<'a>>::Outputs, ) -> Result<(), <S as DoForAttrsStrategy<'a>>::Error>
§impl From<CmpBlockKind> for ExprOrCmpBlockKind
impl From<CmpBlockKind> for ExprOrCmpBlockKind
§fn from(value: CmpBlockKind) -> ExprOrCmpBlockKind
fn from(value: CmpBlockKind) -> ExprOrCmpBlockKind
Converts to this type from the input type.
§impl From<ExprBlockKind> for ExprOrCmpBlockKind
impl From<ExprBlockKind> for ExprOrCmpBlockKind
§fn from(value: ExprBlockKind) -> ExprOrCmpBlockKind
fn from(value: ExprBlockKind) -> ExprOrCmpBlockKind
Converts to this type from the input type.
§impl From<ExprOrCmpBlockKind> for BlockKind
impl From<ExprOrCmpBlockKind> for BlockKind
§fn from(value: ExprOrCmpBlockKind) -> BlockKind
fn from(value: ExprOrCmpBlockKind) -> BlockKind
Converts to this type from the input type.
§impl PartialEq for ExprOrCmpBlockKind
impl PartialEq for ExprOrCmpBlockKind
impl StructuralPartialEq for ExprOrCmpBlockKind
Auto Trait Implementations§
impl !Send for ExprOrCmpBlockKind
impl !Sync for ExprOrCmpBlockKind
impl Freeze for ExprOrCmpBlockKind
impl RefUnwindSafe for ExprOrCmpBlockKind
impl Unpin for ExprOrCmpBlockKind
impl UnsafeUnpin for ExprOrCmpBlockKind
impl UnwindSafe for ExprOrCmpBlockKind
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<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