pub struct PatternPair {
pub pattern: ExprKind,
pub body: ExprKind,
}Fields§
§pattern: ExprKind§body: ExprKindImplementations§
Source§impl PatternPair
impl PatternPair
Trait Implementations§
Source§impl Clone for PatternPair
impl Clone for PatternPair
Source§fn clone(&self) -> PatternPair
fn clone(&self) -> PatternPair
Returns a duplicate 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 PatternPair
impl Debug for PatternPair
Source§impl<'de> Deserialize<'de> for PatternPair
impl<'de> Deserialize<'de> for PatternPair
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 PatternPair
impl Display for PatternPair
Source§impl PartialEq for PatternPair
impl PartialEq for PatternPair
Source§impl Serialize for PatternPair
impl Serialize for PatternPair
impl StructuralPartialEq for PatternPair
Auto Trait Implementations§
impl Freeze for PatternPair
impl RefUnwindSafe for PatternPair
impl Send for PatternPair
impl Sync for PatternPair
impl Unpin for PatternPair
impl UnsafeUnpin for PatternPair
impl UnwindSafe for PatternPair
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> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more