pub struct DynamicTextBinding {
pub path: Vec<usize>,
pub closure: Rc<dyn Fn() -> String>,
pub last_value: String,
}Expand description
Binding between a dynamic text closure and its target location in the layout hierarchy.
Fields§
§path: Vec<usize>§closure: Rc<dyn Fn() -> String>§last_value: StringTrait Implementations§
Source§impl Clone for DynamicTextBinding
impl Clone for DynamicTextBinding
Auto Trait Implementations§
impl !RefUnwindSafe for DynamicTextBinding
impl !Send for DynamicTextBinding
impl !Sync for DynamicTextBinding
impl !UnwindSafe for DynamicTextBinding
impl Forget for DynamicTextBinding
impl Freeze for DynamicTextBinding
impl Move for DynamicTextBinding
impl Unpin for DynamicTextBinding
impl UnsafeUnpin for DynamicTextBinding
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