pub struct EnvFacts {
pub env: Env,
pub viewport: Size,
pub scale: f32,
pub focus: Option<Key>,
pub focus_visible: bool,
pub region: Option<Key>,
pub caret_visible: bool,
}Expand description
Everything an env reading is taken from: the stored Env and the
frame’s own facts beside it (Core::env_facts).
Fields§
§env: Env§viewport: Size§scale: f32§focus: Option<Key>§focus_visible: bool§region: Option<Key>§caret_visible: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for EnvFacts
impl RefUnwindSafe for EnvFacts
impl Send for EnvFacts
impl Sync for EnvFacts
impl Unpin for EnvFacts
impl UnsafeUnpin for EnvFacts
impl UnwindSafe for EnvFacts
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