pub struct PythonGenOptions {
pub header_comment: Option<String>,
}Expand description
Codegen options for Python modules.
Fields§
§header_comment: Option<String>Optional header comment that lands at the top of the generated
file. Newlines are emitted as separate # comment lines.
Trait Implementations§
Source§impl Clone for PythonGenOptions
impl Clone for PythonGenOptions
Source§fn clone(&self) -> PythonGenOptions
fn clone(&self) -> PythonGenOptions
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 Debug for PythonGenOptions
impl Debug for PythonGenOptions
Source§impl Default for PythonGenOptions
impl Default for PythonGenOptions
Source§fn default() -> PythonGenOptions
fn default() -> PythonGenOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PythonGenOptions
impl RefUnwindSafe for PythonGenOptions
impl Send for PythonGenOptions
impl Sync for PythonGenOptions
impl Unpin for PythonGenOptions
impl UnsafeUnpin for PythonGenOptions
impl UnwindSafe for PythonGenOptions
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