pub enum BindingKind {
Let {
mutable: bool,
},
Parameter {
mutable: bool,
},
MatchArm,
}Variants§
Implementations§
Source§impl BindingKind
impl BindingKind
pub fn is_mutable(&self) -> bool
pub fn is_param(&self) -> bool
pub fn is_match_arm(&self) -> bool
Trait Implementations§
Source§impl Clone for BindingKind
impl Clone for BindingKind
Source§fn clone(&self) -> BindingKind
fn clone(&self) -> BindingKind
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 BindingKind
impl Debug for BindingKind
Source§impl PartialEq for BindingKind
impl PartialEq for BindingKind
impl Copy for BindingKind
impl Eq for BindingKind
impl StructuralPartialEq for BindingKind
Auto Trait Implementations§
impl Freeze for BindingKind
impl RefUnwindSafe for BindingKind
impl Send for BindingKind
impl Sync for BindingKind
impl Unpin for BindingKind
impl UnsafeUnpin for BindingKind
impl UnwindSafe for BindingKind
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