Skip to main content

PropsData

Trait PropsData 

Source
pub trait PropsData:
    Any
    + Debug
    + Send
    + Sync {
    // Required methods
    fn clone_props(&self) -> Box<dyn PropsData>;
    fn as_any(&self) -> &dyn Any;

    // Provided method
    fn type_hash(&self) -> TypeHash { ... }
}

Required Methods§

Source

fn clone_props(&self) -> Box<dyn PropsData>

Source

fn as_any(&self) -> &dyn Any

Provided Methods§

Trait Implementations§

Source§

impl Clone for Box<dyn PropsData>

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl PropsData for ()
where Self: Clone,

Source§

fn clone_props(&self) -> Box<dyn PropsData>

Source§

fn as_any(&self) -> &dyn Any

Source§

impl PropsData for String
where Self: Clone,

Source§

fn clone_props(&self) -> Box<dyn PropsData>

Source§

fn as_any(&self) -> &dyn Any

Source§

impl PropsData for bool
where Self: Clone,

Source§

fn clone_props(&self) -> Box<dyn PropsData>

Source§

fn as_any(&self) -> &dyn Any

Source§

impl PropsData for f32
where Self: Clone,

Source§

fn clone_props(&self) -> Box<dyn PropsData>

Source§

fn as_any(&self) -> &dyn Any

Source§

impl PropsData for f64
where Self: Clone,

Source§

fn clone_props(&self) -> Box<dyn PropsData>

Source§

fn as_any(&self) -> &dyn Any

Source§

impl PropsData for i8
where Self: Clone,

Source§

fn clone_props(&self) -> Box<dyn PropsData>

Source§

fn as_any(&self) -> &dyn Any

Source§

impl PropsData for i16
where Self: Clone,

Source§

fn clone_props(&self) -> Box<dyn PropsData>

Source§

fn as_any(&self) -> &dyn Any

Source§

impl PropsData for i32
where Self: Clone,

Source§

fn clone_props(&self) -> Box<dyn PropsData>

Source§

fn as_any(&self) -> &dyn Any

Source§

impl PropsData for i64
where Self: Clone,

Source§

fn clone_props(&self) -> Box<dyn PropsData>

Source§

fn as_any(&self) -> &dyn Any

Source§

impl PropsData for i128
where Self: Clone,

Source§

fn clone_props(&self) -> Box<dyn PropsData>

Source§

fn as_any(&self) -> &dyn Any

Source§

impl PropsData for isize
where Self: Clone,

Source§

fn clone_props(&self) -> Box<dyn PropsData>

Source§

fn as_any(&self) -> &dyn Any

Source§

impl PropsData for u8
where Self: Clone,

Source§

fn clone_props(&self) -> Box<dyn PropsData>

Source§

fn as_any(&self) -> &dyn Any

Source§

impl PropsData for u16
where Self: Clone,

Source§

fn clone_props(&self) -> Box<dyn PropsData>

Source§

fn as_any(&self) -> &dyn Any

Source§

impl PropsData for u32
where Self: Clone,

Source§

fn clone_props(&self) -> Box<dyn PropsData>

Source§

fn as_any(&self) -> &dyn Any

Source§

impl PropsData for u64
where Self: Clone,

Source§

fn clone_props(&self) -> Box<dyn PropsData>

Source§

fn as_any(&self) -> &dyn Any

Source§

impl PropsData for u128
where Self: Clone,

Source§

fn clone_props(&self) -> Box<dyn PropsData>

Source§

fn as_any(&self) -> &dyn Any

Source§

impl PropsData for usize
where Self: Clone,

Source§

fn clone_props(&self) -> Box<dyn PropsData>

Source§

fn as_any(&self) -> &dyn Any

Implementors§

Source§

impl PropsData for AnchorNotifyProps
where Self: Clone,

Source§

impl PropsData for AnchorProps
where Self: Clone,

Source§

impl PropsData for ButtonNotifyProps
where Self: Clone,

Source§

impl PropsData for ButtonProps
where Self: Clone,

Source§

impl PropsData for Color
where Self: Clone,

Source§

impl PropsData for ContentBoxItemLayout
where Self: Clone,

Source§

impl PropsData for ContentBoxProps
where Self: Clone,

Source§

impl PropsData for ContextBoxProps
where Self: Clone,

Source§

impl PropsData for FlexBoxItemLayout
where Self: Clone,

Source§

impl PropsData for FlexBoxProps
where Self: Clone,

Source§

impl PropsData for FloatBoxNotifyProps
where Self: Clone,

Source§

impl PropsData for FloatBoxProps
where Self: Clone,

Source§

impl PropsData for FloatBoxState
where Self: Clone,

Source§

impl PropsData for GridBoxItemLayout
where Self: Clone,

Source§

impl PropsData for GridBoxProps
where Self: Clone,

Source§

impl PropsData for HiddenBoxProps
where Self: Clone,

Source§

impl PropsData for HorizontalBoxProps
where Self: Clone,

Source§

impl PropsData for ImageBoxProps
where Self: Clone,

Source§

impl PropsData for IntRect
where Self: Clone,

Source§

impl PropsData for IntVec2
where Self: Clone,

Source§

impl PropsData for MediaQueryExpression
where Self: Clone,

Source§

impl PropsData for MessageForwardProps
where Self: Clone,

Source§

impl PropsData for NavAutoSelect
where Self: Clone,

Source§

impl PropsData for NavContainerActive
where Self: Clone,

Source§

impl PropsData for NavContainerDesiredSelection
where Self: Clone,

Source§

impl PropsData for NavItemActive
where Self: Clone,

Source§

impl PropsData for NavJumpActive
where Self: Clone,

Source§

impl PropsData for NavJumpLooped
where Self: Clone,

Source§

impl PropsData for NavJumpMapProps
where Self: Clone,

Source§

impl PropsData for NavLockingActive
where Self: Clone,

Source§

impl PropsData for NavTrackingActive
where Self: Clone,

Source§

impl PropsData for NavTrackingNotifyProps
where Self: Clone,

Source§

impl PropsData for NavTrackingProps
where Self: Clone,

Source§

impl PropsData for OptionsViewMode
where Self: Clone,

Source§

impl PropsData for OptionsViewProps
where Self: Clone,

Source§

impl PropsData for PivotBoxProps
where Self: Clone,

Source§

impl PropsData for PortalsContainer
where Self: Clone,

Source§

impl PropsData for PrefabValue
where Self: Clone,

Source§

impl PropsData for PropsGroupPrefab
where Self: Clone,

Source§

impl PropsData for Rect
where Self: Clone,

Source§

impl PropsData for RelativeLayoutProps
where Self: Clone,

Source§

impl PropsData for ResponsiveBoxState
where Self: Clone,

Source§

impl PropsData for ScrollBoxOwner
where Self: Clone,

Source§

impl PropsData for ScrollViewNotifyProps
where Self: Clone,

Source§

impl PropsData for ScrollViewRange
where Self: Clone,

Source§

impl PropsData for ScrollViewState
where Self: Clone,

Source§

impl PropsData for SideScrollbarsProps
where Self: Clone,

Source§

impl PropsData for SideScrollbarsState
where Self: Clone,

Source§

impl PropsData for SizeBoxProps
where Self: Clone,

Source§

impl PropsData for SliderViewProps
where Self: Clone,

Source§

impl PropsData for SpaceBoxProps
where Self: Clone,

Source§

impl PropsData for SwitchBoxProps
where Self: Clone,

Source§

impl PropsData for TabPlateProps
where Self: Clone,

Source§

impl PropsData for TabsBoxProps
where Self: Clone,

Source§

impl PropsData for TabsState
where Self: Clone,

Source§

impl PropsData for TextBoxProps
where Self: Clone,

Source§

impl PropsData for TextInputControlNotifyProps
where Self: Clone,

Source§

impl PropsData for TextInputMode
where Self: Clone,

Source§

impl PropsData for TextInputNotifyProps
where Self: Clone,

Source§

impl PropsData for TextInputProps
where Self: Clone,

Source§

impl PropsData for TextInputState
where Self: Clone,

Source§

impl PropsData for TooltipState
where Self: Clone,

Source§

impl PropsData for Transform
where Self: Clone,

Source§

impl PropsData for VariantBoxProps
where Self: Clone,

Source§

impl PropsData for Vec2
where Self: Clone,

Source§

impl PropsData for VerticalBoxProps
where Self: Clone,

Source§

impl PropsData for WidgetAlpha
where Self: Clone,

Source§

impl PropsData for WidgetId
where Self: Clone,

Source§

impl PropsData for WidgetIdOrRef
where Self: Clone,

Source§

impl PropsData for WidgetRef
where Self: Clone,

Source§

impl PropsData for WrapBoxProps
where Self: Clone,