pub struct StringLit<'a>(pub &'a str);
Expand description
Represents a string value
Follow /"[^"]*"/
Tuple Fields§
§0: &'a str
Trait Implementations§
Source§impl<'a> From<StringLit<'a>> for DefaultValue<'a>
impl<'a> From<StringLit<'a>> for DefaultValue<'a>
Source§impl<'a> From<StringLit<'a>> for IdentifierOrString<'a>
impl<'a> From<StringLit<'a>> for IdentifierOrString<'a>
Source§impl<'a> Ord for StringLit<'a>
impl<'a> Ord for StringLit<'a>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> PartialOrd for StringLit<'a>
impl<'a> PartialOrd for StringLit<'a>
impl<'a> Copy for StringLit<'a>
impl<'a> Eq for StringLit<'a>
impl<'a> StructuralPartialEq for StringLit<'a>
Auto Trait Implementations§
impl<'a> Freeze for StringLit<'a>
impl<'a> RefUnwindSafe for StringLit<'a>
impl<'a> Send for StringLit<'a>
impl<'a> Sync for StringLit<'a>
impl<'a> Unpin for StringLit<'a>
impl<'a> UnwindSafe for StringLit<'a>
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