pub struct Monitor {}Expand description
Um monitor.
Fields§
§name: StringO nome do aparelho (“XB273K V5”); sem ele, o do sistema.
device: StringO nome do sistema (\\.\DISPLAY1 no Windows): não muda enquanto o monitor fica ligado
na mesma saída, por isso é o que se guarda para reabrir nele.
primary: bool§x: i32§y: i32§width: u32§height: u32§work_x: i32A área útil (sem a barra de tarefas); igual à do monitor onde o sistema não diz.
work_y: i32§work_width: u32§work_height: u32§scale: f64A escala do sistema (1,5 = 150%).
refresh_hz: f64A taxa de atualização (0 = o sistema não diz, como no navegador).
modes: Vec<VideoMode>Implementations§
Trait Implementations§
impl StructuralPartialEq for Monitor
Auto Trait Implementations§
impl Forget for Monitor
impl Freeze for Monitor
impl Move for Monitor
impl RefUnwindSafe for Monitor
impl Send for Monitor
impl Sync for Monitor
impl Unpin for Monitor
impl UnsafeUnpin for Monitor
impl UnwindSafe for Monitor
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