Struct rustc_mir_build::thir::pattern::usefulness::LiteralExpander [−][src]
struct LiteralExpander;
Trait Implementations
impl<'tcx> PatternFolder<'tcx> for LiteralExpander[src]
impl<'tcx> PatternFolder<'tcx> for LiteralExpander[src]fn fold_pattern(&mut self, pat: &Pat<'tcx>) -> Pat<'tcx>[src]
fn fold_pattern_kind(&mut self, kind: &PatKind<'tcx>) -> PatKind<'tcx>[src]
Auto Trait Implementations
impl RefUnwindSafe for LiteralExpander
impl Send for LiteralExpander
impl Sync for LiteralExpander
impl Unpin for LiteralExpander
impl UnwindSafe for LiteralExpander
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,