AnyObject
trait · ferroui-reactive · v0.5.0
trait AnyObject: Sized + 'static
A value that can be cast to a value of a type (object of upstream's Cast and OfType):
implemented for Rc<dyn Any>.
A value casts to the type it was created with; Rust has no class inheritance, so a value does not cast to the type of a base class as upstream's do.
Members
downcast_object
fn downcast_object<U: 'static>(self: Self) -> Result<Rc<U>, Self>
The value as a value of U, or the value itself when it is not one ((U)value,
value is U).
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.