pub struct ModuleSpecification<A> {
pub types: Vec<ModuleTypeSpecification<A>>,
pub values: Vec<ModuleValueSpecification<A>>,
pub doc: Option<String>,
}Fields§
§types: Vec<ModuleTypeSpecification<A>>§values: Vec<ModuleValueSpecification<A>>§doc: Option<String>Trait Implementations§
Source§impl<A: Clone> Clone for ModuleSpecification<A>
impl<A: Clone> Clone for ModuleSpecification<A>
Source§impl<A: Debug> Debug for ModuleSpecification<A>
impl<A: Debug> Debug for ModuleSpecification<A>
Source§impl<'de, A> Deserialize<'de> for ModuleSpecification<A>where
A: Deserialize<'de>,
impl<'de, A> Deserialize<'de> for ModuleSpecification<A>where
A: Deserialize<'de>,
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<A: PartialEq> PartialEq for ModuleSpecification<A>
impl<A: PartialEq> PartialEq for ModuleSpecification<A>
Source§impl<A> Serialize for ModuleSpecification<A>where
A: Serialize,
impl<A> Serialize for ModuleSpecification<A>where
A: Serialize,
impl<A: PartialEq> StructuralPartialEq for ModuleSpecification<A>
Auto Trait Implementations§
impl<A> Freeze for ModuleSpecification<A>where
Vec<(Name, Documented<TypeSpecification<A>>)>: Freeze,
Vec<(Name, Documented<ValueSpecification<A>>)>: Freeze,
impl<A> RefUnwindSafe for ModuleSpecification<A>where
Vec<(Name, Documented<TypeSpecification<A>>)>: RefUnwindSafe,
Vec<(Name, Documented<ValueSpecification<A>>)>: RefUnwindSafe,
impl<A> Send for ModuleSpecification<A>where
Vec<(Name, Documented<TypeSpecification<A>>)>: Send,
Vec<(Name, Documented<ValueSpecification<A>>)>: Send,
impl<A> Sync for ModuleSpecification<A>where
Vec<(Name, Documented<TypeSpecification<A>>)>: Sync,
Vec<(Name, Documented<ValueSpecification<A>>)>: Sync,
impl<A> Unpin for ModuleSpecification<A>where
Vec<(Name, Documented<TypeSpecification<A>>)>: Unpin,
Vec<(Name, Documented<ValueSpecification<A>>)>: Unpin,
impl<A> UnsafeUnpin for ModuleSpecification<A>where
Vec<(Name, Documented<TypeSpecification<A>>)>: UnsafeUnpin,
Vec<(Name, Documented<ValueSpecification<A>>)>: UnsafeUnpin,
impl<A> UnwindSafe for ModuleSpecification<A>where
Vec<(Name, Documented<TypeSpecification<A>>)>: UnwindSafe,
Vec<(Name, Documented<ValueSpecification<A>>)>: UnwindSafe,
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