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