[][src]Struct screenruster_saver::Renderer

pub struct Renderer { /* fields omitted */ }

Methods

impl Renderer[src]

pub fn new<S: Saver + Send + 'static>(
    display: Option<String>,
    screen: i32,
    window: u64,
    saver: S
) -> Renderer
[src]

pub fn resize(&self, width: u32, height: u32) -> Result<(), SendError<Request>>[src]

pub fn throttle(&self, value: bool) -> Result<(), SendError<Request>>[src]

pub fn blank(&self, value: bool) -> Result<(), SendError<Request>>[src]

pub fn safety(&self, value: Safety) -> Result<(), SendError<Request>>[src]

pub fn pointer(&self, pointer: Pointer) -> Result<(), SendError<Request>>[src]

pub fn password(&self, password: Password) -> Result<(), SendError<Request>>[src]

pub fn start(&self) -> Result<(), SendError<Request>>[src]

pub fn lock(&self) -> Result<(), SendError<Request>>[src]

pub fn stop(&self) -> Result<(), SendError<Request>>[src]

Trait Implementations

impl AsRef<Receiver<Response>> for Renderer[src]

impl AsRef<Sender<Request>> for Renderer[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> SetParameter for T

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.