Struct jj_cli::template_builder::Expression
source · pub struct Expression<P> { /* private fields */ }Expand description
Opaque struct that represents a template value.
Implementations§
source§impl<P> Expression<P>
impl<P> Expression<P>
pub fn try_into_boolean<'a, C: 'a>( self ) -> Option<Box<dyn TemplateProperty<C, Output = bool> + 'a>>where P: IntoTemplateProperty<'a, C>,
pub fn try_into_integer<'a, C: 'a>( self ) -> Option<Box<dyn TemplateProperty<C, Output = i64> + 'a>>where P: IntoTemplateProperty<'a, C>,
pub fn try_into_plain_text<'a, C: 'a>( self ) -> Option<Box<dyn TemplateProperty<C, Output = String> + 'a>>where P: IntoTemplateProperty<'a, C>,
pub fn try_into_template<'a, C: 'a>(self) -> Option<Box<dyn Template<C> + 'a>>where P: IntoTemplateProperty<'a, C>,
Auto Trait Implementations§
impl<P> RefUnwindSafe for Expression<P>where P: RefUnwindSafe,
impl<P> Send for Expression<P>where P: Send,
impl<P> Sync for Expression<P>where P: Sync,
impl<P> Unpin for Expression<P>where P: Unpin,
impl<P> UnwindSafe for Expression<P>where P: UnwindSafe,
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