pub struct Annotation<'a> {
pub annotation: Expression<'a>,
pub whitespace_before_indicator: Option<ParenthesizableWhitespace<'a>>,
pub whitespace_after_indicator: ParenthesizableWhitespace<'a>,
}
Fields§
§annotation: Expression<'a>
§whitespace_before_indicator: Option<ParenthesizableWhitespace<'a>>
§whitespace_after_indicator: ParenthesizableWhitespace<'a>
Implementations§
Source§impl<'a> Annotation<'a>
impl<'a> Annotation<'a>
pub fn codegen(&self, state: &mut CodegenState<'a>, default_indicator: &'a str)
Trait Implementations§
Source§impl<'a> Clone for Annotation<'a>
impl<'a> Clone for Annotation<'a>
Source§fn clone(&self) -> Annotation<'a>
fn clone(&self) -> Annotation<'a>
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<'a> Debug for Annotation<'a>
impl<'a> Debug for Annotation<'a>
Source§impl<'a> PartialEq for Annotation<'a>
impl<'a> PartialEq for Annotation<'a>
impl<'a> Eq for Annotation<'a>
impl<'a> StructuralPartialEq for Annotation<'a>
Auto Trait Implementations§
impl<'a> Freeze for Annotation<'a>
impl<'a> RefUnwindSafe for Annotation<'a>
impl<'a> Send for Annotation<'a>
impl<'a> Sync for Annotation<'a>
impl<'a> Unpin for Annotation<'a>
impl<'a> UnwindSafe for Annotation<'a>
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