Enum derive_more::parsing::RuleResult
source · enum RuleResult<T> {
Matched(usize, T),
Failed,
}
Variants§
Trait Implementations§
source§impl<T: Clone> Clone for RuleResult<T>
impl<T: Clone> Clone for RuleResult<T>
source§fn clone(&self) -> RuleResult<T>
fn clone(&self) -> RuleResult<T>
Returns a copy 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 moreAuto Trait Implementations§
impl<T> RefUnwindSafe for RuleResult<T>where T: RefUnwindSafe,
impl<T> Send for RuleResult<T>where T: Send,
impl<T> Sync for RuleResult<T>where T: Sync,
impl<T> Unpin for RuleResult<T>where T: Unpin,
impl<T> UnwindSafe for RuleResult<T>where T: UnwindSafe,
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