pub enum CommentContent {
String(String),
Standard(StandardComment),
}
Expand description
See Gerber spec 2024.05.
- 4.1 - Comment (G04)
- 5.1.1 - Comment attributes
Variants§
String(String)
Standard(StandardComment)
“Content starting with ”#@!“ is reserved for standard comments. The purpose of standard comments is to add meta-information in a formally defined manner, without affecting image generation. They can only be used if defined in this specification”
Trait Implementations§
Source§impl Clone for CommentContent
impl Clone for CommentContent
Source§fn clone(&self) -> CommentContent
fn clone(&self) -> CommentContent
Returns a duplicate of the value. Read more
1.0.0 · 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 CommentContent
impl Debug for CommentContent
Source§impl PartialEq for CommentContent
impl PartialEq for CommentContent
impl StructuralPartialEq for CommentContent
Auto Trait Implementations§
impl Freeze for CommentContent
impl RefUnwindSafe for CommentContent
impl Send for CommentContent
impl Sync for CommentContent
impl Unpin for CommentContent
impl UnwindSafe for CommentContent
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