pub struct AppliedVerbatimAnnotation {
pub placement: VerbatimPlacement,
pub language: String,
pub text: String,
}Expand description
@verbatim(language, text, placement).
Fields§
§placement: VerbatimPlacementPlatzierung im Code-Gen-Output.
language: StringZielsprache (z.B. “c++”).
text: StringLiteral-Text.
Trait Implementations§
Source§impl Clone for AppliedVerbatimAnnotation
impl Clone for AppliedVerbatimAnnotation
Source§fn clone(&self) -> AppliedVerbatimAnnotation
fn clone(&self) -> AppliedVerbatimAnnotation
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 AppliedVerbatimAnnotation
impl Debug for AppliedVerbatimAnnotation
Source§impl PartialEq for AppliedVerbatimAnnotation
impl PartialEq for AppliedVerbatimAnnotation
Source§fn eq(&self, other: &AppliedVerbatimAnnotation) -> bool
fn eq(&self, other: &AppliedVerbatimAnnotation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AppliedVerbatimAnnotation
impl StructuralPartialEq for AppliedVerbatimAnnotation
Auto Trait Implementations§
impl Freeze for AppliedVerbatimAnnotation
impl RefUnwindSafe for AppliedVerbatimAnnotation
impl Send for AppliedVerbatimAnnotation
impl Sync for AppliedVerbatimAnnotation
impl Unpin for AppliedVerbatimAnnotation
impl UnsafeUnpin for AppliedVerbatimAnnotation
impl UnwindSafe for AppliedVerbatimAnnotation
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