pub struct MissingIfBranch {
pub keyword: &'static str,
}Expand description
Missing then or else branch in an if expression.
Fields§
§keyword: &'static strThe keyword that was expected.
Trait Implementations§
Source§impl Clone for MissingIfBranch
impl Clone for MissingIfBranch
Source§fn clone(&self) -> MissingIfBranch
fn clone(&self) -> MissingIfBranch
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 MissingIfBranch
impl Debug for MissingIfBranch
Source§impl ErrorKind for MissingIfBranch
impl ErrorKind for MissingIfBranch
Source§impl PartialEq for MissingIfBranch
impl PartialEq for MissingIfBranch
impl StructuralPartialEq for MissingIfBranch
Auto Trait Implementations§
impl Freeze for MissingIfBranch
impl RefUnwindSafe for MissingIfBranch
impl Send for MissingIfBranch
impl Sync for MissingIfBranch
impl Unpin for MissingIfBranch
impl UnwindSafe for MissingIfBranch
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