pub struct AssignmentPattern {
pub base: BaseNode,
pub left: Box<PatternLike>,
pub right: Box<Expression>,
pub type_annotation: Option<Box<Value>>,
pub decorators: Option<Vec<Value>>,
}Fields§
§base: BaseNode§left: Box<PatternLike>§right: Box<Expression>§type_annotation: Option<Box<Value>>§decorators: Option<Vec<Value>>Trait Implementations§
Source§impl Clone for AssignmentPattern
impl Clone for AssignmentPattern
Source§fn clone(&self) -> AssignmentPattern
fn clone(&self) -> AssignmentPattern
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AssignmentPattern
impl Debug for AssignmentPattern
Source§impl<'de> Deserialize<'de> for AssignmentPattern
impl<'de> Deserialize<'de> for AssignmentPattern
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
Auto Trait Implementations§
impl Freeze for AssignmentPattern
impl RefUnwindSafe for AssignmentPattern
impl Send for AssignmentPattern
impl Sync for AssignmentPattern
impl Unpin for AssignmentPattern
impl UnsafeUnpin for AssignmentPattern
impl UnwindSafe for AssignmentPattern
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