pub struct DCPythonImport {
pub module: String,
pub symbols: Vec<String>,
}
Expand description
Represents a Python-style import statement in the DC file.
Fields§
§module: String
§symbols: Vec<String>
Trait Implementations§
source§impl Clone for DCPythonImport
impl Clone for DCPythonImport
source§fn clone(&self) -> DCPythonImport
fn clone(&self) -> DCPythonImport
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 Debug for DCPythonImport
impl Debug for DCPythonImport
source§impl Display for DCPythonImport
impl Display for DCPythonImport
source§impl From<PythonImport> for DCPythonImport
impl From<PythonImport> for DCPythonImport
source§fn from(value: PythonImport) -> Self
fn from(value: PythonImport) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DCPythonImport
impl RefUnwindSafe for DCPythonImport
impl Send for DCPythonImport
impl Sync for DCPythonImport
impl Unpin for DCPythonImport
impl UnwindSafe for DCPythonImport
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)