pub struct AxiomAnnotations<L = OwlLiteral, B = BlankNodeId> { /* private fields */ }Expand description
Axiom annotations attached to one structural axiom.
Implementations§
Source§impl<L, B> AxiomAnnotations<L, B>
impl<L, B> AxiomAnnotations<L, B>
Sourcepub fn new(annotations: Vec<Annotation<L, B>>) -> Self
pub fn new(annotations: Vec<Annotation<L, B>>) -> Self
Create annotations from a bounded axiom-local collection.
Sourcepub fn as_slice(&self) -> &[Annotation<L, B>]
pub fn as_slice(&self) -> &[Annotation<L, B>]
Return the annotations.
Trait Implementations§
Source§impl<L, B> Default for AxiomAnnotations<L, B>
impl<L, B> Default for AxiomAnnotations<L, B>
Source§impl<'de, L, B> Deserialize<'de> for AxiomAnnotations<L, B>where
L: Deserialize<'de>,
B: Deserialize<'de>,
impl<'de, L, B> Deserialize<'de> for AxiomAnnotations<L, B>where
L: Deserialize<'de>,
B: 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
impl<L: Eq, B: Eq> Eq for AxiomAnnotations<L, B>
Source§impl<L, B> Serialize for AxiomAnnotations<L, B>
impl<L, B> Serialize for AxiomAnnotations<L, B>
impl<L: PartialEq, B: PartialEq> StructuralPartialEq for AxiomAnnotations<L, B>
Auto Trait Implementations§
impl<L, B> Freeze for AxiomAnnotations<L, B>
impl<L, B> RefUnwindSafe for AxiomAnnotations<L, B>
impl<L, B> Send for AxiomAnnotations<L, B>
impl<L, B> Sync for AxiomAnnotations<L, B>
impl<L, B> Unpin for AxiomAnnotations<L, B>
impl<L, B> UnsafeUnpin for AxiomAnnotations<L, B>
impl<L, B> UnwindSafe for AxiomAnnotations<L, B>
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