pub struct CommentAnnotation {
pub identification: Option<Identification>,
pub locale: Option<String>,
pub text: String,
}Expand description
KerML Comment: ( ‘comment’ Identification? )? ( ‘locale’ STRING_VALUE )? body = REGULAR_COMMENT.
Fields§
§identification: Option<Identification>§locale: Option<String>§text: StringTrait Implementations§
Source§impl Clone for CommentAnnotation
impl Clone for CommentAnnotation
Source§fn clone(&self) -> CommentAnnotation
fn clone(&self) -> CommentAnnotation
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 CommentAnnotation
impl Debug for CommentAnnotation
impl Eq for CommentAnnotation
Source§impl PartialEq for CommentAnnotation
impl PartialEq for CommentAnnotation
Source§fn eq(&self, other: &CommentAnnotation) -> bool
fn eq(&self, other: &CommentAnnotation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CommentAnnotation
Auto Trait Implementations§
impl Freeze for CommentAnnotation
impl RefUnwindSafe for CommentAnnotation
impl Send for CommentAnnotation
impl Sync for CommentAnnotation
impl Unpin for CommentAnnotation
impl UnsafeUnpin for CommentAnnotation
impl UnwindSafe for CommentAnnotation
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