[−][src]Struct open_vaf::StringLiteral
Fields
start: u16
end: u16
Implementations
impl StringLiteral
[src]
pub fn new(src: &str) -> Result<Self, ()>
[src]
pub fn as_usize_range(self) -> Range<usize>
[src]
pub fn as_raw_range(self) -> Range<u16>
[src]
pub fn as_str<'lt>(self) -> MappedRwLockReadGuard<'lt, str>
[src]
pub const fn empty() -> Self
[src]
Trait Implementations
impl Clone for StringLiteral
[src]
fn clone(&self) -> StringLiteral
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for StringLiteral
[src]
impl Debug for StringLiteral
[src]
impl Display for StringLiteral
[src]
impl Eq for StringLiteral
[src]
impl From<Range<u16>> for StringLiteral
[src]
impl From<Range<usize>> for StringLiteral
[src]
impl Into<Range<u16>> for StringLiteral
[src]
impl Into<Range<usize>> for StringLiteral
[src]
impl PartialEq<StringLiteral> for StringLiteral
[src]
Auto Trait Implementations
impl RefUnwindSafe for StringLiteral
impl Send for StringLiteral
impl Sync for StringLiteral
impl Unpin for StringLiteral
impl UnwindSafe for StringLiteral
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<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,