[−][src]Struct rustc_ap_rustc_lexer::UnvalidatedRawStr
Represents something that looks like a raw string, but may have some
problems. Use .validate()
to convert it into something
usable.
Methods
impl UnvalidatedRawStr
[src]
pub fn validate(self) -> Result<ValidatedRawStr, LexRawStrError>
[src]
Trait Implementations
impl Clone for UnvalidatedRawStr
[src]
fn clone(&self) -> UnvalidatedRawStr
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for UnvalidatedRawStr
[src]
impl Debug for UnvalidatedRawStr
[src]
impl Eq for UnvalidatedRawStr
[src]
impl Ord for UnvalidatedRawStr
[src]
fn cmp(&self, other: &UnvalidatedRawStr) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<UnvalidatedRawStr> for UnvalidatedRawStr
[src]
fn eq(&self, other: &UnvalidatedRawStr) -> bool
[src]
fn ne(&self, other: &UnvalidatedRawStr) -> bool
[src]
impl PartialOrd<UnvalidatedRawStr> for UnvalidatedRawStr
[src]
fn partial_cmp(&self, other: &UnvalidatedRawStr) -> Option<Ordering>
[src]
fn lt(&self, other: &UnvalidatedRawStr) -> bool
[src]
fn le(&self, other: &UnvalidatedRawStr) -> bool
[src]
fn gt(&self, other: &UnvalidatedRawStr) -> bool
[src]
fn ge(&self, other: &UnvalidatedRawStr) -> bool
[src]
impl StructuralEq for UnvalidatedRawStr
[src]
impl StructuralPartialEq for UnvalidatedRawStr
[src]
Auto Trait Implementations
impl RefUnwindSafe for UnvalidatedRawStr
impl Send for UnvalidatedRawStr
impl Sync for UnvalidatedRawStr
impl Unpin for UnvalidatedRawStr
impl UnwindSafe for UnvalidatedRawStr
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>,