pub struct Embed {
pub line_number: u32,
/* private fields */
}Fields§
§line_number: u32Implementations§
Trait Implementations§
Source§impl Element for Embed
impl Element for Embed
fn as_embed(&self) -> Option<&Embed>
fn is_embed(&self) -> bool
fn line_number(&self) -> u32
fn snippet(&self) -> String
fn snippet_with_options(&self, printer: &dyn Printer, gutter: bool) -> String
fn touch(&self)
fn as_attribute(&self) -> Option<&Attribute>
fn as_field(&self) -> Option<&Field>
fn as_flag(&self) -> Option<&Flag>
fn as_item(&self) -> Option<&Item>
fn as_section(&self) -> Option<&Section>
fn is_attribute(&self) -> bool
fn is_field(&self) -> bool
fn is_flag(&self) -> bool
fn is_item(&self) -> bool
fn is_section(&self) -> bool
Source§impl SectionElement for Embed
impl SectionElement for Embed
Auto Trait Implementations§
impl !Freeze for Embed
impl !RefUnwindSafe for Embed
impl !Send for Embed
impl !Sync for Embed
impl Unpin for Embed
impl !UnwindSafe for Embed
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