pub enum VerbatimPlacement {
Before,
After,
BeginFile,
EndFile,
Other(String),
}Expand description
Placement kind of a @verbatim annotation (§7.3.4.5.4 §PL_*).
Variants§
Before
Before the type declaration.
After
After the type declaration.
BeginFile
Within the header block (e.g. #include).
EndFile
End of the file.
Other(String)
Other placement (forward-compat).
Trait Implementations§
Source§impl Clone for VerbatimPlacement
impl Clone for VerbatimPlacement
Source§fn clone(&self) -> VerbatimPlacement
fn clone(&self) -> VerbatimPlacement
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 VerbatimPlacement
impl Debug for VerbatimPlacement
impl Eq for VerbatimPlacement
Source§impl PartialEq for VerbatimPlacement
impl PartialEq for VerbatimPlacement
Source§fn eq(&self, other: &VerbatimPlacement) -> bool
fn eq(&self, other: &VerbatimPlacement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VerbatimPlacement
Auto Trait Implementations§
impl Freeze for VerbatimPlacement
impl RefUnwindSafe for VerbatimPlacement
impl Send for VerbatimPlacement
impl Sync for VerbatimPlacement
impl Unpin for VerbatimPlacement
impl UnsafeUnpin for VerbatimPlacement
impl UnwindSafe for VerbatimPlacement
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