pub struct TemplateBinding { /* private fields */ }Implementations§
Source§impl TemplateBinding
impl TemplateBinding
pub fn new( key: impl Into<String>, expression: TemplateExpression, ) -> Result<Self, TemplateModelError>
Trait Implementations§
Source§impl Clone for TemplateBinding
impl Clone for TemplateBinding
Source§fn clone(&self) -> TemplateBinding
fn clone(&self) -> TemplateBinding
Returns a duplicate of the value. Read more
1.0.0 · 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 TemplateBinding
impl Debug for TemplateBinding
Source§impl PartialEq for TemplateBinding
impl PartialEq for TemplateBinding
impl Eq for TemplateBinding
impl StructuralPartialEq for TemplateBinding
Auto Trait Implementations§
impl Freeze for TemplateBinding
impl RefUnwindSafe for TemplateBinding
impl Send for TemplateBinding
impl Sync for TemplateBinding
impl Unpin for TemplateBinding
impl UnsafeUnpin for TemplateBinding
impl UnwindSafe for TemplateBinding
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