pub struct RenderOptions {
pub docs_root: String,
pub entry: String,
pub indent: String,
pub declaration: InstanceConfig,
}Expand description
Everything a render depends on.
Fields§
§docs_root: StringWhat replaces {docs_root} in wiring patterns — the literal root
the instance’s profile selected.
entry: StringThe command prefix an entry invokes, e.g. sdd or cargo run -q --.
indent: StringThe sequence-item indentation of the consumer’s repos: entries.
declaration: InstanceConfigWhat the project declared about what its gates judge.
The block is rendered from this, so the project never edits the block and an upgrade never meets its choice.
Trait Implementations§
Source§impl Clone for RenderOptions
impl Clone for RenderOptions
Source§fn clone(&self) -> RenderOptions
fn clone(&self) -> RenderOptions
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 RenderOptions
impl Debug for RenderOptions
Auto Trait Implementations§
impl Freeze for RenderOptions
impl RefUnwindSafe for RenderOptions
impl Send for RenderOptions
impl Sync for RenderOptions
impl Unpin for RenderOptions
impl UnsafeUnpin for RenderOptions
impl UnwindSafe for RenderOptions
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