pub enum UnsupportedSemantics<P> {
Query(Target<P>),
Fragment(BlobTarget<P>),
CodeFragment(Target<P>),
SiteRoute,
NetworkPath,
}Expand description
Reference syntax whose target may be located but whose meaning is outside the scanner’s current evaluator.
Variants§
Implementations§
Source§impl<P> UnsupportedSemantics<P>
impl<P> UnsupportedSemantics<P>
pub const fn is_lfs_pointer(&self) -> bool
Trait Implementations§
Source§impl<P: Clone> Clone for UnsupportedSemantics<P>
impl<P: Clone> Clone for UnsupportedSemantics<P>
Source§fn clone(&self) -> UnsupportedSemantics<P>
fn clone(&self) -> UnsupportedSemantics<P>
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<P: Debug> Debug for UnsupportedSemantics<P>
impl<P: Debug> Debug for UnsupportedSemantics<P>
impl<P: Eq> Eq for UnsupportedSemantics<P>
Source§impl<'_enum, P> From<&'_enum UnsupportedSemantics<P>> for UnsupportedSemanticsTag
impl<'_enum, P> From<&'_enum UnsupportedSemantics<P>> for UnsupportedSemanticsTag
Source§fn from(val: &'_enum UnsupportedSemantics<P>) -> UnsupportedSemanticsTag
fn from(val: &'_enum UnsupportedSemantics<P>) -> UnsupportedSemanticsTag
Converts to this type from the input type.
Source§impl<P> From<UnsupportedSemantics<P>> for UnsupportedSemanticsTag
impl<P> From<UnsupportedSemantics<P>> for UnsupportedSemanticsTag
Source§fn from(val: UnsupportedSemantics<P>) -> UnsupportedSemanticsTag
fn from(val: UnsupportedSemantics<P>) -> UnsupportedSemanticsTag
Converts to this type from the input type.
Source§impl<P> IntoDiscriminant for UnsupportedSemantics<P>
impl<P> IntoDiscriminant for UnsupportedSemantics<P>
Source§type Discriminant = UnsupportedSemanticsTag
type Discriminant = UnsupportedSemanticsTag
Enum listing the same variants as this enum but without any data fields
fn discriminant(&self) -> Self::Discriminant
Source§impl<P: PartialEq> PartialEq for UnsupportedSemantics<P>
impl<P: PartialEq> PartialEq for UnsupportedSemantics<P>
impl<P: PartialEq> StructuralPartialEq for UnsupportedSemantics<P>
Auto Trait Implementations§
impl<P> Freeze for UnsupportedSemantics<P>where
P: Freeze,
impl<P> RefUnwindSafe for UnsupportedSemantics<P>where
P: RefUnwindSafe,
impl<P> Send for UnsupportedSemantics<P>where
P: Send,
impl<P> Sync for UnsupportedSemantics<P>where
P: Sync,
impl<P> Unpin for UnsupportedSemantics<P>where
P: Unpin,
impl<P> UnsafeUnpin for UnsupportedSemantics<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for UnsupportedSemantics<P>where
P: 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