Struct aflak_cake::MetaTransform
source · pub struct MetaTransform<'t, T: Clone + 't, E: 't> { /* private fields */ }
Implementations
sourceimpl<'t, T, E> MetaTransform<'t, T, E>where
T: Clone,
impl<'t, T, E> MetaTransform<'t, T, E>where
T: Clone,
pub fn new(t: Bow<'t, Transformation<T, E>>) -> Self
pub fn new_with_defaults(
t: Bow<'t, Transformation<T, E>>,
input_defaults: Vec<Option<T>>
) -> Self
pub fn transform(&self) -> &Transformation<T, E>
pub fn defaults(&self) -> &[Option<T>]
pub fn transform_mut(&mut self) -> Option<&mut Transformation<T, E>>
pub fn defaults_mut(&mut self) -> &mut [Option<T>]
pub fn tokenize(self) -> (Bow<'t, Transformation<T, E>>, Vec<Option<T>>)
Trait Implementations
Auto Trait Implementations
impl<'t, T, E> RefUnwindSafe for MetaTransform<'t, T, E>where
T: RefUnwindSafe,
impl<'t, T, E> Send for MetaTransform<'t, T, E>where
T: Send + Sync,
impl<'t, T, E> Sync for MetaTransform<'t, T, E>where
T: Sync,
impl<'t, T, E> Unpin for MetaTransform<'t, T, E>where
T: Unpin,
impl<'t, T, E> UnwindSafe for MetaTransform<'t, T, E>where
T: UnwindSafe + RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more