Struct org_rust_parser::object::ExportSnippet
source · pub struct ExportSnippet<'a> {
pub backend: &'a str,
pub contents: &'a str,
}
Fields§
§backend: &'a str
§contents: &'a str
Trait Implementations§
source§impl<'a> Clone for ExportSnippet<'a>
impl<'a> Clone for ExportSnippet<'a>
source§fn clone(&self) -> ExportSnippet<'a>
fn clone(&self) -> ExportSnippet<'a>
Returns a copy 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 ExportSnippet<'a>
impl<'a> Debug for ExportSnippet<'a>
source§impl<'a> From<ExportSnippet<'a>> for Expr<'a>
impl<'a> From<ExportSnippet<'a>> for Expr<'a>
source§fn from(original: ExportSnippet<'a>) -> Expr<'a>
fn from(original: ExportSnippet<'a>) -> Expr<'a>
Converts to this type from the input type.
source§impl<'a> PartialEq for ExportSnippet<'a>
impl<'a> PartialEq for ExportSnippet<'a>
source§fn eq(&self, other: &ExportSnippet<'a>) -> bool
fn eq(&self, other: &ExportSnippet<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> Eq for ExportSnippet<'a>
impl<'a> StructuralPartialEq for ExportSnippet<'a>
Auto Trait Implementations§
impl<'a> Freeze for ExportSnippet<'a>
impl<'a> RefUnwindSafe for ExportSnippet<'a>
impl<'a> Send for ExportSnippet<'a>
impl<'a> Sync for ExportSnippet<'a>
impl<'a> Unpin for ExportSnippet<'a>
impl<'a> UnwindSafe for ExportSnippet<'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