pub struct TermMatcherGn<T>(/* private fields */);
Expand description
Wrapper type returned by TermMatcher::gn
Trait Implementations§
Source§impl<T: Clone> Clone for TermMatcherGn<T>
impl<T: Clone> Clone for TermMatcherGn<T>
Source§fn clone(&self) -> TermMatcherGn<T>
fn clone(&self) -> TermMatcherGn<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 moreSource§impl<T: Debug> Debug for TermMatcherGn<T>
impl<T: Debug> Debug for TermMatcherGn<T>
Source§impl<M> GraphNameMatcher for TermMatcherGn<M>where
M: TermMatcher,
impl<M> GraphNameMatcher for TermMatcherGn<M>where
M: TermMatcher,
Source§type Term = <M as TermMatcher>::Term
type Term = <M as TermMatcher>::Term
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.impl<T: Copy> Copy for TermMatcherGn<T>
Auto Trait Implementations§
impl<T> Freeze for TermMatcherGn<T>where
T: Freeze,
impl<T> RefUnwindSafe for TermMatcherGn<T>where
T: RefUnwindSafe,
impl<T> Send for TermMatcherGn<T>where
T: Send,
impl<T> Sync for TermMatcherGn<T>where
T: Sync,
impl<T> Unpin for TermMatcherGn<T>where
T: Unpin,
impl<T> UnwindSafe for TermMatcherGn<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