pub struct CadlDocument {
pub interfaces: Vec<InterfaceDef>,
pub implementations: Vec<ImplDef>,
pub constraints: Vec<ConstraintDef>,
pub top_level_annotations: Vec<Annotation>,
}Fields§
§interfaces: Vec<InterfaceDef>§implementations: Vec<ImplDef>§constraints: Vec<ConstraintDef>§top_level_annotations: Vec<Annotation>Trait Implementations§
Source§impl Clone for CadlDocument
impl Clone for CadlDocument
Source§fn clone(&self) -> CadlDocument
fn clone(&self) -> CadlDocument
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 CadlDocument
impl Debug for CadlDocument
Source§impl<'de> Deserialize<'de> for CadlDocument
impl<'de> Deserialize<'de> for CadlDocument
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 PartialEq for CadlDocument
impl PartialEq for CadlDocument
Source§impl Serialize for CadlDocument
impl Serialize for CadlDocument
impl StructuralPartialEq for CadlDocument
Auto Trait Implementations§
impl Freeze for CadlDocument
impl RefUnwindSafe for CadlDocument
impl Send for CadlDocument
impl Sync for CadlDocument
impl Unpin for CadlDocument
impl UnwindSafe for CadlDocument
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