pub struct StructSpec {
pub name: String,
pub attributes: Elements,
pub elements: Elements,
pub public: bool,
}
Fields§
§name: String
§attributes: Elements
§elements: Elements
§public: bool
Implementations§
Trait Implementations§
Source§impl Clone for StructSpec
impl Clone for StructSpec
Source§fn clone(&self) -> StructSpec
fn clone(&self) -> StructSpec
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 moreSource§impl Debug for StructSpec
impl Debug for StructSpec
Source§impl From<StructSpec> for Element
impl From<StructSpec> for Element
Source§fn from(value: StructSpec) -> Element
fn from(value: StructSpec) -> Element
Converts to this type from the input type.
Source§impl Imports for StructSpec
impl Imports for StructSpec
fn imports<I>(&self, receiver: &mut I)where
I: ImportReceiver,
Auto Trait Implementations§
impl Freeze for StructSpec
impl RefUnwindSafe for StructSpec
impl Send for StructSpec
impl Sync for StructSpec
impl Unpin for StructSpec
impl UnwindSafe for StructSpec
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