Enum hcl_edit::expr::ObjectValueAssignment
source · pub enum ObjectValueAssignment {
Colon,
Equals,
}
Expand description
Represents the assignment operator between an object key and its value.
Variants§
Trait Implementations§
source§impl Clone for ObjectValueAssignment
impl Clone for ObjectValueAssignment
source§fn clone(&self) -> ObjectValueAssignment
fn clone(&self) -> ObjectValueAssignment
Returns a copy 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 ObjectValueAssignment
impl Debug for ObjectValueAssignment
source§impl Default for ObjectValueAssignment
impl Default for ObjectValueAssignment
source§fn default() -> ObjectValueAssignment
fn default() -> ObjectValueAssignment
Returns the “default value” for a type. Read more
source§impl PartialEq for ObjectValueAssignment
impl PartialEq for ObjectValueAssignment
source§fn eq(&self, other: &ObjectValueAssignment) -> bool
fn eq(&self, other: &ObjectValueAssignment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ObjectValueAssignment
impl Eq for ObjectValueAssignment
impl StructuralPartialEq for ObjectValueAssignment
Auto Trait Implementations§
impl Freeze for ObjectValueAssignment
impl RefUnwindSafe for ObjectValueAssignment
impl Send for ObjectValueAssignment
impl Sync for ObjectValueAssignment
impl Unpin for ObjectValueAssignment
impl UnwindSafe for ObjectValueAssignment
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