pub struct AxiomAnnotations { /* private fields */ }Expand description
Axiom annotations attached to one structural axiom.
Implementations§
Source§impl AxiomAnnotations
impl AxiomAnnotations
Sourcepub fn new(annotations: Vec<Annotation>) -> Self
pub fn new(annotations: Vec<Annotation>) -> Self
Create annotations from a bounded axiom-local collection.
Sourcepub fn as_slice(&self) -> &[Annotation]
pub fn as_slice(&self) -> &[Annotation]
Return the annotations.
Trait Implementations§
Source§impl Clone for AxiomAnnotations
impl Clone for AxiomAnnotations
Source§fn clone(&self) -> AxiomAnnotations
fn clone(&self) -> AxiomAnnotations
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AxiomAnnotations
impl Debug for AxiomAnnotations
Source§impl Default for AxiomAnnotations
impl Default for AxiomAnnotations
Source§fn default() -> AxiomAnnotations
fn default() -> AxiomAnnotations
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AxiomAnnotations
impl<'de> Deserialize<'de> for AxiomAnnotations
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
impl Eq for AxiomAnnotations
Source§impl Hash for AxiomAnnotations
impl Hash for AxiomAnnotations
Source§impl PartialEq for AxiomAnnotations
impl PartialEq for AxiomAnnotations
Source§impl Serialize for AxiomAnnotations
impl Serialize for AxiomAnnotations
impl StructuralPartialEq for AxiomAnnotations
Auto Trait Implementations§
impl Freeze for AxiomAnnotations
impl RefUnwindSafe for AxiomAnnotations
impl Send for AxiomAnnotations
impl Sync for AxiomAnnotations
impl Unpin for AxiomAnnotations
impl UnsafeUnpin for AxiomAnnotations
impl UnwindSafe for AxiomAnnotations
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