pub struct ViewAttrChange {
pub target: ViewAnchorTarget,
pub attr: &'static AttrSpec,
pub old: TypedAttrValue,
pub new: TypedAttrValue,
}Expand description
One changed static style/layout/visual/typography attribute on a direct-root view! element.
Fields§
§target: ViewAnchorTarget§attr: &'static AttrSpec§old: TypedAttrValue§new: TypedAttrValueTrait Implementations§
Source§impl Clone for ViewAttrChange
impl Clone for ViewAttrChange
Source§impl Debug for ViewAttrChange
impl Debug for ViewAttrChange
Source§impl Display for ViewAttrChange
impl Display for ViewAttrChange
Source§impl PartialEq for ViewAttrChange
impl PartialEq for ViewAttrChange
impl StructuralPartialEq for ViewAttrChange
Auto Trait Implementations§
impl Forget for ViewAttrChange
impl Freeze for ViewAttrChangewhere
*const u8 is !null: Freeze,
PhantomData<u16>: Freeze,
PhantomData<u8>: Freeze,
&'static AttrSpec: Freeze,
impl Move for ViewAttrChange
impl RefUnwindSafe for ViewAttrChange
impl Send for ViewAttrChange
impl Sync for ViewAttrChangewhere
RawVecInner: Sync,
impl Unpin for ViewAttrChange
impl UnsafeUnpin for ViewAttrChangewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u16>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
&'static AttrSpec: UnsafeUnpin,
impl UnwindSafe for ViewAttrChangewhere
RawVecInner: UnwindSafe,
&'static AttrSpec: 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