pub enum ConfigValue {
Literal(Literal),
NameRef(NameRef),
}Variants§
Trait Implementations§
Source§impl AstNode for ConfigValue
impl AstNode for ConfigValue
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
Source§impl Clone for ConfigValue
impl Clone for ConfigValue
Source§fn clone(&self) -> ConfigValue
fn clone(&self) -> ConfigValue
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 ConfigValue
impl Debug for ConfigValue
Source§impl From<Literal> for ConfigValue
impl From<Literal> for ConfigValue
Source§fn from(node: Literal) -> ConfigValue
fn from(node: Literal) -> ConfigValue
Converts to this type from the input type.
Source§impl From<NameRef> for ConfigValue
impl From<NameRef> for ConfigValue
Source§fn from(node: NameRef) -> ConfigValue
fn from(node: NameRef) -> ConfigValue
Converts to this type from the input type.
Source§impl Hash for ConfigValue
impl Hash for ConfigValue
Source§impl PartialEq for ConfigValue
impl PartialEq for ConfigValue
impl Eq for ConfigValue
impl StructuralPartialEq for ConfigValue
Auto Trait Implementations§
impl Freeze for ConfigValue
impl !RefUnwindSafe for ConfigValue
impl !Send for ConfigValue
impl !Sync for ConfigValue
impl Unpin for ConfigValue
impl !UnwindSafe for ConfigValue
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