[][src]Struct opencv::viz::Widget

pub struct Widget { /* fields omitted */ }

Base class of all widgets. Widget is implicitly shared.

Methods

impl Widget[src]

pub fn as_raw_Widget(&self) -> *mut c_void[src]

pub unsafe fn from_raw_ptr(ptr: *mut c_void) -> Self[src]

impl Widget[src]

pub fn default() -> Result<Widget>[src]

pub fn copy(other: &dyn WidgetTrait) -> Result<Widget>[src]

pub fn from_ply_file(file_name: &str) -> Result<Widget>[src]

Creates a widget from ply file.

Parameters

  • file_name: Ply file name.

Trait Implementations

impl Drop for Widget[src]

impl Send for Widget[src]

impl WidgetTrait for Widget[src]

Auto Trait Implementations

impl RefUnwindSafe for Widget

impl !Sync for Widget

impl Unpin for Widget

impl UnwindSafe for Widget

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, 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.