[−][src]Struct spirit::fragment::driver::Trivial
A trivial Driver
that does no caching at all.
Every time the Driver
is called, the resource is created anew and the old one replaced.
Trait Implementations
impl Clone for Trivial
[src]
impl Copy for Trivial
[src]
impl Debug for Trivial
[src]
impl Default for Trivial
[src]
impl<F: Fragment> Driver<F> for Trivial
[src]
type SubFragment = F
fn instructions<T, I>(
&mut self,
fragment: &F,
transform: &mut T,
name: &'static str
) -> Result<Vec<Instruction<T::OutputResource>>, Vec<AnyError>> where
T: Transformation<F::Resource, I, F>,
[src]
&mut self,
fragment: &F,
transform: &mut T,
name: &'static str
) -> Result<Vec<Instruction<T::OutputResource>>, Vec<AnyError>> where
T: Transformation<F::Resource, I, F>,
fn confirm(&mut self, _name: &'static str)
[src]
fn abort(&mut self, _name: &'static str)
[src]
fn maybe_cached(&self, _: &F, _name: &'static str) -> bool
[src]
Auto Trait Implementations
impl RefUnwindSafe for Trivial
impl Send for Trivial
impl Sync for Trivial
impl Unpin for Trivial
impl UnwindSafe for Trivial
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoResult<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,