pub struct RunOptions<'a> { /* private fields */ }Expand description
Call-local overrides. They never rewrite the document.
Implementations§
Source§impl<'a> RunOptions<'a>
impl<'a> RunOptions<'a>
Sourcepub fn bindings(self, bindings: &'a Bindings<'a>) -> Self
pub fn bindings(self, bindings: &'a Bindings<'a>) -> Self
Substitute logical sources for the selected operation.
Sourcepub fn output(self, path: impl Into<PathBuf>) -> Self
pub fn output(self, path: impl Into<PathBuf>) -> Self
Override just the selected action’s destination, relative to the caller.
Sourcepub fn layout_writer(self, writer: &'a mut dyn Write) -> Self
pub fn layout_writer(self, writer: &'a mut dyn Write) -> Self
Write the native layout JSON to this stream if the layout action has no declared or call-local file destination. Image actions do not use it.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for RunOptions<'a>
impl<'a> !Send for RunOptions<'a>
impl<'a> !Sync for RunOptions<'a>
impl<'a> !UnwindSafe for RunOptions<'a>
impl<'a> Forget for RunOptions<'a>
impl<'a> Freeze for RunOptions<'a>
impl<'a> Move for RunOptions<'a>
impl<'a> Unpin for RunOptions<'a>
impl<'a> UnsafeUnpin for RunOptions<'a>where
&'a Bindings<'a>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
&'a mut dyn Write: UnsafeUnpin,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.