pub struct ShorthandPropertyData {
pub modifiers: Option<NodeList>,
pub name: NodeIndex,
pub equals_token: bool,
pub object_assignment_initializer: NodeIndex,
}Expand description
Data for shorthand property assignments
Fields§
§modifiers: Option<NodeList>§name: NodeIndex§equals_token: bool§object_assignment_initializer: NodeIndexTrait Implementations§
Source§impl Clone for ShorthandPropertyData
impl Clone for ShorthandPropertyData
Source§fn clone(&self) -> ShorthandPropertyData
fn clone(&self) -> ShorthandPropertyData
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 ShorthandPropertyData
impl Debug for ShorthandPropertyData
Source§impl<'de> Deserialize<'de> for ShorthandPropertyData
impl<'de> Deserialize<'de> for ShorthandPropertyData
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 ShorthandPropertyData
impl RefUnwindSafe for ShorthandPropertyData
impl Send for ShorthandPropertyData
impl Sync for ShorthandPropertyData
impl Unpin for ShorthandPropertyData
impl UnsafeUnpin for ShorthandPropertyData
impl UnwindSafe for ShorthandPropertyData
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