pub struct AccessorData {
pub modifiers: Option<NodeList>,
pub name: NodeIndex,
pub type_parameters: Option<NodeList>,
pub parameters: NodeList,
pub type_annotation: NodeIndex,
pub body: NodeIndex,
}Expand description
Data for accessor declarations (get/set)
Fields§
§modifiers: Option<NodeList>§name: NodeIndex§type_parameters: Option<NodeList>§parameters: NodeList§type_annotation: NodeIndex§body: NodeIndexTrait Implementations§
Source§impl Clone for AccessorData
impl Clone for AccessorData
Source§fn clone(&self) -> AccessorData
fn clone(&self) -> AccessorData
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 AccessorData
impl Debug for AccessorData
Source§impl<'de> Deserialize<'de> for AccessorData
impl<'de> Deserialize<'de> for AccessorData
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 AccessorData
impl RefUnwindSafe for AccessorData
impl Send for AccessorData
impl Sync for AccessorData
impl Unpin for AccessorData
impl UnsafeUnpin for AccessorData
impl UnwindSafe for AccessorData
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