pub trait UnsafeAny: Any { }
Expand description

A trait providing unchecked downcasting to its contents when stored in a trait object.

Implementations

Returns a reference to the contained value, assuming that it is of type T.

Warning

If you are not absolutely certain of T you should not call this!

Returns a mutable reference to the contained value, assuming that it is of type T.

Warning

If you are not absolutely certain of T you should not call this!

Returns a the contained value, assuming that it is of type T.

Warning

If you are not absolutely certain of T you should not call this!

Trait Implementations

Returns a reference to the contained value, assuming that it is of type T. Read more

Returns a mutable reference to the contained value, assuming that it is of type T. Read more

Returns a the contained value, assuming that it is of type T. Read more

Returns a reference to the contained value, assuming that it is of type T. Read more

Returns a mutable reference to the contained value, assuming that it is of type T. Read more

Returns a the contained value, assuming that it is of type T. Read more

Returns a reference to the contained value, assuming that it is of type T. Read more

Returns a mutable reference to the contained value, assuming that it is of type T. Read more

Returns a the contained value, assuming that it is of type T. Read more

Returns a reference to the contained value, assuming that it is of type T. Read more

Returns a mutable reference to the contained value, assuming that it is of type T. Read more

Returns a the contained value, assuming that it is of type T. Read more

Implementors