pub struct RuleApplication<E> { /* private fields */ }Implementations§
Source§impl<E> RuleApplication<E>
impl<E> RuleApplication<E>
pub fn new(expression: E, detail: impl Into<String>) -> RuleApplication<E>
pub fn expression(&self) -> &E
pub fn into_expression(self) -> E
pub fn detail(&self) -> &str
Trait Implementations§
Source§impl<E> Clone for RuleApplication<E>where
E: Clone,
impl<E> Clone for RuleApplication<E>where
E: Clone,
Source§fn clone(&self) -> RuleApplication<E>
fn clone(&self) -> RuleApplication<E>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<E> Debug for RuleApplication<E>where
E: Debug,
impl<E> Debug for RuleApplication<E>where
E: Debug,
impl<E> Eq for RuleApplication<E>where
E: Eq,
Source§impl<E> PartialEq for RuleApplication<E>where
E: PartialEq,
impl<E> PartialEq for RuleApplication<E>where
E: PartialEq,
impl<E> StructuralPartialEq for RuleApplication<E>where
E: PartialEq,
Auto Trait Implementations§
impl<E> Freeze for RuleApplication<E>where
E: Freeze,
impl<E> RefUnwindSafe for RuleApplication<E>where
E: RefUnwindSafe,
impl<E> Send for RuleApplication<E>where
E: Send,
impl<E> Sync for RuleApplication<E>where
E: Sync,
impl<E> Unpin for RuleApplication<E>where
E: Unpin,
impl<E> UnsafeUnpin for RuleApplication<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for RuleApplication<E>where
E: 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