pub struct IconViewState {
pub spec: AzString,
}Expand description
The private dataset behind Dom::create_icon_view: the spec that view
renders right now. Public because the swap API downcasts it - see
CallbackInfo::set_icon.
Fields§
§spec: AzStringAn icon spec, i.e. a comma-separated fallback chain exactly as
Dom::create_icon takes (“system:titlebar-close,close”).
Trait Implementations§
Source§impl Clone for IconViewState
impl Clone for IconViewState
Source§fn clone(&self) -> IconViewState
fn clone(&self) -> IconViewState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IconViewState
impl Debug for IconViewState
impl Eq for IconViewState
Source§impl PartialEq for IconViewState
impl PartialEq for IconViewState
impl StructuralPartialEq for IconViewState
Auto Trait Implementations§
impl Freeze for IconViewState
impl RefUnwindSafe for IconViewState
impl Send for IconViewState
impl Sync for IconViewState
impl Unpin for IconViewState
impl UnsafeUnpin for IconViewState
impl UnwindSafe for IconViewState
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