pub enum ImportStmt {
ImportRelativePath(ImportRelativePathStmt),
ImportGlobalModule(ImportGlobalModuleStmt),
}Variants§
ImportRelativePath(ImportRelativePathStmt)
ImportGlobalModule(ImportGlobalModuleStmt)
Implementations§
Source§impl ImportStmt
impl ImportStmt
pub fn stmt_type_name(&self) -> String
Source§impl ImportStmt
impl ImportStmt
pub fn to_latex_string(&self) -> String
Trait Implementations§
Source§impl Clone for ImportStmt
impl Clone for ImportStmt
Source§fn clone(&self) -> ImportStmt
fn clone(&self) -> ImportStmt
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 Display for ImportStmt
impl Display for ImportStmt
Source§impl From<ImportStmt> for Stmt
impl From<ImportStmt> for Stmt
Source§fn from(v: ImportStmt) -> Self
fn from(v: ImportStmt) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ImportStmt
impl RefUnwindSafe for ImportStmt
impl !Send for ImportStmt
impl !Sync for ImportStmt
impl Unpin for ImportStmt
impl UnsafeUnpin for ImportStmt
impl UnwindSafe for ImportStmt
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