pub struct ElementSpec {
pub annotations: Vec<Annotation>,
pub ty: ElementSpecTy,
pub value: Declarator,
pub field_id: Option<u32>,
}Fields§
§annotations: Vec<Annotation>§ty: ElementSpecTy§value: Declarator§field_id: Option<u32>Trait Implementations§
Source§impl Clone for ElementSpec
impl Clone for ElementSpec
Source§fn clone(&self) -> ElementSpec
fn clone(&self) -> ElementSpec
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 ElementSpec
impl Debug for ElementSpec
Source§impl<'de> Deserialize<'de> for ElementSpec
impl<'de> Deserialize<'de> for ElementSpec
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
Source§impl From<ElementSpec> for ElementSpec
impl From<ElementSpec> for ElementSpec
Source§fn from(value: ElementSpec) -> Self
fn from(value: ElementSpec) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ElementSpec
impl RefUnwindSafe for ElementSpec
impl Send for ElementSpec
impl Sync for ElementSpec
impl Unpin for ElementSpec
impl UnsafeUnpin for ElementSpec
impl UnwindSafe for ElementSpec
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