Struct GoRuneLiteral
pub struct GoRuneLiteral(/* private fields */);Expand description
Go rune literal metadata.
Implementations§
§impl GoRuneLiteral
impl GoRuneLiteral
pub const fn new(value: char) -> GoRuneLiteral
pub const fn new(value: char) -> GoRuneLiteral
Creates rune literal metadata from a character.
Trait Implementations§
§impl Clone for GoRuneLiteral
impl Clone for GoRuneLiteral
§fn clone(&self) -> GoRuneLiteral
fn clone(&self) -> GoRuneLiteral
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 more§impl Debug for GoRuneLiteral
impl Debug for GoRuneLiteral
§impl Display for GoRuneLiteral
impl Display for GoRuneLiteral
§impl Hash for GoRuneLiteral
impl Hash for GoRuneLiteral
§impl Ord for GoRuneLiteral
impl Ord for GoRuneLiteral
§impl PartialEq for GoRuneLiteral
impl PartialEq for GoRuneLiteral
§impl PartialOrd for GoRuneLiteral
impl PartialOrd for GoRuneLiteral
impl Copy for GoRuneLiteral
impl Eq for GoRuneLiteral
impl StructuralPartialEq for GoRuneLiteral
Auto Trait Implementations§
impl Freeze for GoRuneLiteral
impl RefUnwindSafe for GoRuneLiteral
impl Send for GoRuneLiteral
impl Sync for GoRuneLiteral
impl Unpin for GoRuneLiteral
impl UnsafeUnpin for GoRuneLiteral
impl UnwindSafe for GoRuneLiteral
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