[−][src]Struct rustc_ap_rustc_lexer::ValidatedRawStr
Raw String that contains a valid prefix (#+") and postfix ("#+) where
there are a matching number of # characters in both. Note that this will
not consume extra trailing # characters: r###"abcde"#### is lexed as a
ValidatedRawString { n_hashes: 3 } followed by a # token.
Implementations
impl ValidatedRawStr[src]
pub fn num_hashes(&self) -> u16[src]
Trait Implementations
impl Clone for ValidatedRawStr[src]
fn clone(&self) -> ValidatedRawStr[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for ValidatedRawStr[src]
impl Debug for ValidatedRawStr[src]
impl Eq for ValidatedRawStr[src]
impl PartialEq<ValidatedRawStr> for ValidatedRawStr[src]
fn eq(&self, other: &ValidatedRawStr) -> bool[src]
fn ne(&self, other: &ValidatedRawStr) -> bool[src]
impl StructuralEq for ValidatedRawStr[src]
impl StructuralPartialEq for ValidatedRawStr[src]
Auto Trait Implementations
impl RefUnwindSafe for ValidatedRawStr
impl Send for ValidatedRawStr
impl Sync for ValidatedRawStr
impl Unpin for ValidatedRawStr
impl UnwindSafe for ValidatedRawStr
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,