Struct ev3dev_lang_rust::Screen
source · pub struct Screen {
pub buffer: Framebuffer,
pub image: RgbImage,
}Available on crate feature
screen only.Expand description
Represents the device screen.
Advanced drawing operations can be performed with the imageproc crate.
Fields§
§buffer: FramebufferDirect reference to the framebuffer
image: RgbImageConvenience layer to access the framebuffer
For drawing operations the imageproc crate can be used.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Screen
impl Send for Screen
impl Sync for Screen
impl Unpin for Screen
impl UnwindSafe for Screen
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more