Struct donet_core::parser::ast::AtomicField
source · pub struct AtomicField {
pub span: Span,
pub identifier: Option<String>,
pub keywords: Vec<String>,
pub parameters: Vec<Parameter>,
}
Expand description
The Atomic Field variant of the AtomicOrMolecular
enum.
Fields§
§span: Span
§identifier: Option<String>
§keywords: Vec<String>
§parameters: Vec<Parameter>
Implementations§
source§impl AtomicField
impl AtomicField
pub fn from_named_field( field: NamedField, kw_list: Vec<String>, span: Span, ) -> Self
Trait Implementations§
source§impl Clone for AtomicField
impl Clone for AtomicField
source§fn clone(&self) -> AtomicField
fn clone(&self) -> AtomicField
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 moreAuto Trait Implementations§
impl Freeze for AtomicField
impl RefUnwindSafe for AtomicField
impl Send for AtomicField
impl Sync for AtomicField
impl Unpin for AtomicField
impl UnwindSafe for AtomicField
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)