[][src]Trait glib::object::UnsafeFrom

pub trait UnsafeFrom<T> {
    unsafe fn unsafe_from(t: T) -> Self;
}

Unsafe variant of the From trait.

Required methods

unsafe fn unsafe_from(t: T) -> Self

Safety

It is the responsibility of the caller to ensure all invariants of the T hold before this is called, and that subsequent to conversion to assume nothing other than the invariants of the output. Implementors of this must ensure that the invariants of the output type hold.

Loading content...

Implementors

Loading content...