pub enum NyarConstant {
None,
Int(i64),
Float(u64),
String(String),
QualifiedName(QualifiedName),
}Expand description
Nyar 常量池项
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for NyarConstant
impl Clone for NyarConstant
Source§fn clone(&self) -> NyarConstant
fn clone(&self) -> NyarConstant
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 NyarConstant
impl Debug for NyarConstant
Source§impl<'de> Deserialize<'de> for NyarConstant
impl<'de> Deserialize<'de> for NyarConstant
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for NyarConstant
impl Hash for NyarConstant
Source§impl PartialEq for NyarConstant
impl PartialEq for NyarConstant
Source§impl Serialize for NyarConstant
impl Serialize for NyarConstant
impl Eq for NyarConstant
impl StructuralPartialEq for NyarConstant
Auto Trait Implementations§
impl Freeze for NyarConstant
impl RefUnwindSafe for NyarConstant
impl Send for NyarConstant
impl Sync for NyarConstant
impl Unpin for NyarConstant
impl UnsafeUnpin for NyarConstant
impl UnwindSafe for NyarConstant
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