pub unsafe trait UITraitOverrides: UIMutableTraits + MainThreadOnly {
// Provided methods
unsafe fn containsTrait(&self, trait: &UITrait) -> bool
where Self: Sized + Message { ... }
unsafe fn removeTrait(&self, trait: &UITrait)
where Self: Sized + Message { ... }
}Available on crate feature
UITraitCollection only.Expand description
Provided Methods§
Sourceunsafe fn containsTrait(&self, trait: &UITrait) -> bool
Available on crate feature UITrait only.
unsafe fn containsTrait(&self, trait: &UITrait) -> bool
UITrait only.§Safety
trait must implement UITraitDefinition.