FuncTemplateWithParam
struct · ferroui-controls · v0.5.0
struct FuncTemplateWithParam<TParam, TControl>
Creates a control from a function taking a parameter and the name scope to register the named parts in.
Members
new
fn new(func: impl Fn(&TParam, &NameScopeRef) -> TControl + 'static) -> Self
Creates a template from the function used to create the control.
build_with_name_scope
fn build_with_name_scope(self: &Self, param: &TParam) -> (TControl, NameScopeRef)
Creates the control together with the name scope passed to the function.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEitherITemplateWithParam<TParam, TControl>
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.