Skip to main content

ViewRefExt

Trait ViewRefExt 

Source
pub trait ViewRefExt {
    // Required method
    fn get_koid(&self) -> Result<Koid, Status>;
}
Expand description

Extension trait for [fidl_fuchsia_ui_view::ViewRef].

Required Methods§

Source

fn get_koid(&self) -> Result<Koid, Status>

Returns the koid (kernel object ID) for this ViewRef. (This involves a system call.)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ViewRefExt for ViewRef

Source§

fn get_koid(&self) -> Result<Koid, Status>

Implementors§