pub struct Not<M>(pub M);Tuple Fields§
§0: MTrait Implementations§
Source§impl<M: GraphNameMatcher> GraphNameMatcher for Not<M>
impl<M: GraphNameMatcher> GraphNameMatcher for Not<M>
Source§type Term = SimpleTerm<'static>
type Term = SimpleTerm<'static>
The type of term that this GraphNameMatcher contains
Source§fn matches<T2: Term + ?Sized>(&self, graph_name: GraphName<&T2>) -> bool
fn matches<T2: Term + ?Sized>(&self, graph_name: GraphName<&T2>) -> bool
Check whether this matcher matches
t.Source§fn constant(&self) -> Option<GraphName<&Self::Term>>
fn constant(&self) -> Option<GraphName<&Self::Term>>
Return
None, unless this matcher can only match a single graph name,
in which case this method may return that graph name. Read moreSource§fn matcher_ref(&self) -> MatcherRef<'_, Self>
fn matcher_ref(&self) -> MatcherRef<'_, Self>
Return a
GraphNameMatcher that is actually just a reference to this one.Source§impl<M: TermMatcher> TermMatcher for Not<M>
impl<M: TermMatcher> TermMatcher for Not<M>
Source§type Term = SimpleTerm<'static>
type Term = SimpleTerm<'static>
The type of term that this TermMatcher contains
Source§fn constant(&self) -> Option<&Self::Term>
fn constant(&self) -> Option<&Self::Term>
Return
None, unless this matcher can only match a single term,
in which case this method may return that term. Read moreSource§fn gn(self) -> TermMatcherGn<Self>where
Self: Sized,
fn gn(self) -> TermMatcherGn<Self>where
Self: Sized,
Source§fn matcher_ref(&self) -> MatcherRef<'_, Self>
fn matcher_ref(&self) -> MatcherRef<'_, Self>
Return a
TermMatcher that is actually just a reference to this one.Auto Trait Implementations§
impl<M> Freeze for Not<M>where
M: Freeze,
impl<M> RefUnwindSafe for Not<M>where
M: RefUnwindSafe,
impl<M> Send for Not<M>where
M: Send,
impl<M> Sync for Not<M>where
M: Sync,
impl<M> Unpin for Not<M>where
M: Unpin,
impl<M> UnwindSafe for Not<M>where
M: 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