[][src]Struct fltk::widget::Widget

pub struct Widget { /* fields omitted */ }

An abstract type, shouldn't be instantiated in user code

Implementations

impl Widget[src]

pub unsafe fn from_raw(ptr: *mut Fl_Widget) -> Self[src]

Initialize a Widget base from a pointer

pub unsafe fn as_ptr(&self) -> *mut Fl_Widget[src]

Returns the inner pointer

pub unsafe fn into<W: WidgetExt>(self) -> W[src]

Transform Widget base to another Widget

Trait Implementations

impl Clone for Widget[src]

impl Debug for Widget[src]

impl Send for Widget[src]

impl Sync for Widget[src]

impl WidgetExt for Widget[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.