pub enum GoStringLiteralKind {
Interpreted,
Raw,
}Expand description
Go string literal kind metadata.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for GoStringLiteralKind
impl Clone for GoStringLiteralKind
Source§fn clone(&self) -> GoStringLiteralKind
fn clone(&self) -> GoStringLiteralKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GoStringLiteralKind
impl Debug for GoStringLiteralKind
Source§impl Display for GoStringLiteralKind
impl Display for GoStringLiteralKind
Source§impl FromStr for GoStringLiteralKind
impl FromStr for GoStringLiteralKind
Source§impl Hash for GoStringLiteralKind
impl Hash for GoStringLiteralKind
Source§impl Ord for GoStringLiteralKind
impl Ord for GoStringLiteralKind
Source§fn cmp(&self, other: &GoStringLiteralKind) -> Ordering
fn cmp(&self, other: &GoStringLiteralKind) -> Ordering
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 PartialEq for GoStringLiteralKind
impl PartialEq for GoStringLiteralKind
Source§impl PartialOrd for GoStringLiteralKind
impl PartialOrd for GoStringLiteralKind
impl Copy for GoStringLiteralKind
impl Eq for GoStringLiteralKind
impl StructuralPartialEq for GoStringLiteralKind
Auto Trait Implementations§
impl Freeze for GoStringLiteralKind
impl RefUnwindSafe for GoStringLiteralKind
impl Send for GoStringLiteralKind
impl Sync for GoStringLiteralKind
impl Unpin for GoStringLiteralKind
impl UnsafeUnpin for GoStringLiteralKind
impl UnwindSafe for GoStringLiteralKind
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