Struct raui::prelude::WidgetComponent [−][src]
Fields
processor: fn(WidgetContext<'_>) -> WidgetNode
type_name: String
key: Option<String>
idref: Option<WidgetRef>
props: Props
listed_slots: Vec<WidgetNode, Global>
named_slots: HashMap<String, WidgetNode, RandomState>
Implementations
impl WidgetComponent
[src]
pub fn remap_props<F>(&mut self, f: F) where
F: FnMut(Props) -> Props,
[src]
F: FnMut(Props) -> Props,
Trait Implementations
impl Clone for WidgetComponent
[src]
pub fn clone(&self) -> WidgetComponent
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for WidgetComponent
[src]
impl From<WidgetComponent> for WidgetNode
[src]
pub fn from(component: WidgetComponent) -> WidgetNode
[src]
impl TryFrom<WidgetNode> for WidgetComponent
[src]
type Error = ()
The type returned in the event of a conversion error.
pub fn try_from(
node: WidgetNode
) -> Result<WidgetComponent, <WidgetComponent as TryFrom<WidgetNode>>::Error>
[src]
node: WidgetNode
) -> Result<WidgetComponent, <WidgetComponent as TryFrom<WidgetNode>>::Error>
Auto Trait Implementations
impl !RefUnwindSafe for WidgetComponent
impl Send for WidgetComponent
impl Sync for WidgetComponent
impl Unpin for WidgetComponent
impl !UnwindSafe for WidgetComponent
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,