Struct pepper::pattern::PatternState
source · [−]pub struct PatternState { /* private fields */ }
Trait Implementations
sourceimpl Clone for PatternState
impl Clone for PatternState
sourcefn clone(&self) -> PatternState
fn clone(&self) -> PatternState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PatternState
impl Debug for PatternState
sourceimpl PartialEq<PatternState> for PatternState
impl PartialEq<PatternState> for PatternState
sourcefn eq(&self, other: &PatternState) -> bool
fn eq(&self, other: &PatternState) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PatternState) -> bool
fn ne(&self, other: &PatternState) -> bool
This method tests for !=
.
impl Copy for PatternState
impl Eq for PatternState
impl StructuralEq for PatternState
impl StructuralPartialEq for PatternState
Auto Trait Implementations
impl RefUnwindSafe for PatternState
impl Send for PatternState
impl Sync for PatternState
impl Unpin for PatternState
impl UnwindSafe for PatternState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more