Trait ferrum::typemap::UnsafeAny [] [src]

pub trait UnsafeAny: Any { }

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

Methods

impl UnsafeAny + 'static
[src]

[src]

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!

[src]

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!

[src]

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

impl UnsafeAnyExt for UnsafeAny + 'static + Send + Sync
[src]

impl UnsafeAnyExt for UnsafeAny + 'static + Sync
[src]

impl UnsafeAnyExt for UnsafeAny + 'static + Send
[src]

impl UnsafeAnyExt for UnsafeAny + 'static
[src]

Implementors