pub struct TransformContext {
pub indent: usize,
pub include_imports: bool,
pub binds: Vec<String>,
pub return_type: Option<String>,
}Expand description
Context for code generation
Fields§
§indent: usize§include_imports: bool§binds: Vec<String>§return_type: Option<String>Trait Implementations§
Source§impl Debug for TransformContext
impl Debug for TransformContext
Source§impl Default for TransformContext
impl Default for TransformContext
Source§fn default() -> TransformContext
fn default() -> TransformContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TransformContext
impl RefUnwindSafe for TransformContext
impl Send for TransformContext
impl Sync for TransformContext
impl Unpin for TransformContext
impl UnwindSafe for TransformContext
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