pub struct Pat<'a> {
pub raw_text: &'a str,
pub items: Option<Vec<PatItem<'a>>>,
}Fields§
§raw_text: &'a str§items: Option<Vec<PatItem<'a>>>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Pat<'a>
impl<'a> RefUnwindSafe for Pat<'a>
impl<'a> Send for Pat<'a>
impl<'a> Sync for Pat<'a>
impl<'a> Unpin for Pat<'a>
impl<'a> UnwindSafe for Pat<'a>
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