TemplateResult
struct · ferroui-controls · v0.5.0
struct TemplateResult<T>
The result of building a template: the built object and the name scope its named parts were registered in.
Members
new
fn new(result: T, name_scope: NameScopeRef) -> Self
result
fn result(self: &Self) -> &T
The built object.
name_scope
fn name_scope(self: &Self) -> &NameScopeRef
The name scope of the built object.
deconstruct
fn deconstruct(self: Self) -> (T, NameScopeRef)
Splits the result into the built object and its name scope.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedClassDefaultsErasedDestructorIntoEitherClone
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.