pub trait WidgetActionTrait:
'static
+ Send
+ Sync {
// Required methods
fn ref_cast_type_id(&self) -> TypeId;
fn debug_fmt(&self, f: &mut Formatter<'_>) -> Result;
fn box_clone(&self) -> Box<dyn WidgetActionTrait>;
}
Required Methods§
fn ref_cast_type_id(&self) -> TypeId
fn debug_fmt(&self, f: &mut Formatter<'_>) -> Result
fn box_clone(&self) -> Box<dyn WidgetActionTrait>
Implementations§
Source§impl dyn WidgetActionTrait
impl dyn WidgetActionTrait
pub fn is<T: WidgetActionTrait + 'static>(&self) -> bool
pub fn downcast_ref<T: WidgetActionTrait + 'static>(&self) -> Option<&T>
pub fn downcast_mut<T: WidgetActionTrait + 'static>(&mut self) -> Option<&mut T>
Trait Implementations§
Source§impl Clone for Box<dyn WidgetActionTrait>
impl Clone for Box<dyn WidgetActionTrait>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more