[−][src]Struct sunrise_vi::ViInterface
Entry point interface.
Trait Implementations
impl Clone for ViInterface
[src]
fn clone(&self) -> ViInterface
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ViInterface
[src]
impl Default for ViInterface
[src]
fn default() -> ViInterface
[src]
impl ViInterface for ViInterface
[src]
fn create_buffer(
&mut self,
manager: WorkQueue<'static>,
sharedmem: SharedMemory,
top: i32,
left: i32,
width: u32,
height: u32
) -> Result<IBufferProxy, Error>
[src]
&mut self,
manager: WorkQueue<'static>,
sharedmem: SharedMemory,
top: i32,
left: i32,
width: u32,
height: u32
) -> Result<IBufferProxy, Error>
Create a window.
This creates a window at the given coordinates, with the given
height. The passed handle should be a SharedMemory handle containing
a framebuffer of type [[u8; width]; height]
.
It is allowed to place the framebuffer outside the field of view.
fn get_screen_resolution(
&mut self,
_manager: WorkQueue<'static>
) -> Result<(u32, u32), Error>
[src]
&mut self,
_manager: WorkQueue<'static>
) -> Result<(u32, u32), Error>
Gets the screen (width, height) in pixels.
Cannot fail.
fn get_font_height(
&mut self,
_manager: WorkQueue<'static>
) -> Result<u32, Error>
[src]
&mut self,
_manager: WorkQueue<'static>
) -> Result<u32, Error>
fn create_terminal(
&mut self,
manager: WorkQueue<'static>,
sharedmem: SharedMemory,
top: i32,
left: i32,
width: u32,
height: u32
) -> Result<IPipeProxy, Error>
[src]
&mut self,
manager: WorkQueue<'static>,
sharedmem: SharedMemory,
top: i32,
left: i32,
width: u32,
height: u32
) -> Result<IPipeProxy, Error>
fn dispatch(
&'a mut self,
manager: WorkQueue<'static>,
cmdid: u32,
buf: &'a mut [u8]
) -> FutureObj<'a, Result<(), Error>>
[src]
&'a mut self,
manager: WorkQueue<'static>,
cmdid: u32,
buf: &'a mut [u8]
) -> FutureObj<'a, Result<(), Error>>
Auto Trait Implementations
impl RefUnwindSafe for ViInterface
impl Send for ViInterface
impl Sync for ViInterface
impl Unpin for ViInterface
impl UnwindSafe for ViInterface
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SizedIPCBuffer for T
[src]
fn size(&self) -> usize
[src]
fn is_cool(addr: usize, size: usize) -> bool
[src]
unsafe fn from_raw_parts<'a>(addr: usize, _size: usize) -> &'a T
[src]
unsafe fn from_raw_parts_mut<'a>(addr: usize, _size: usize) -> &'a mut T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,