pub struct BindDecl {
pub span: Span,
pub left: Expr,
pub right: Expr,
pub clamp: Option<(Expr, Expr)>,
pub resolve: BindResolve,
}Expand description
Two-way binding: bind left <-> right using Clamp[0, 1] resolve latest;
Fields§
§span: Span§left: Expr§right: Expr§clamp: Option<(Expr, Expr)>§resolve: BindResolveTrait Implementations§
impl StructuralPartialEq for BindDecl
Auto Trait Implementations§
impl Freeze for BindDecl
impl RefUnwindSafe for BindDecl
impl Send for BindDecl
impl Sync for BindDecl
impl Unpin for BindDecl
impl UnsafeUnpin for BindDecl
impl UnwindSafe for BindDecl
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