NameScope
struct · ferroui-base · v0.5.0
struct NameScope
Implements a name scope.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this type.
name_scope_property
fn name_scope_property() -> &'static AttachedProperty<Option<NameScopeRef>>
Defines the NameScope attached property.
new
fn new() -> Self
get_name_scope
fn get_name_scope(styled: &StyledElement) -> Option<NameScopeRef>
Gets the value of the attached NameScope property on a styled element.
set_name_scope
fn set_name_scope(styled: &StyledElement, value: Option<NameScopeRef>)
Sets the value of the attached NameScope property on a styled element.
The scope is told which element holds it, and the scope the element
held before that it no longer does (see INameScope::attached_to).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyErasedDestructorIntoEitherDefaultStaticTypeINameScopeMarkupTyped
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.