Struct egui::Output [−][src]
What egui emits each frame. The backend should use this.
Fields
cursor_icon: CursorIconSet the cursor to this icon.
open_url: Option<OpenUrl>If set, open this url.
copied_text: StringResponse to crate::Event::Copy or crate::Event::Cut. Ignore if empty.
needs_repaint: boolIf true, egui is requesting immediate repaint (i.e. on the next frame).
This happens for instance when there is an animation, or if a user has called Context::request_repaint().
As an egui user: don’t set this value directly.
Call Context::request_repaint() instead and it will do so for you.
events: Vec<OutputEvent>Events that may be useful to e.g. a screen reader.
text_cursor: Option<Pos2>Position of text widgts’ cursor
Implementations
impl Output[src]
pub fn open_url(&mut self, url: impl Into<String>)[src]
Open the given url in a web browser. If egui is running in a browser, the same tab will be reused.
pub fn events_description(&self) -> String[src]
This can be used by a text-to-speech system to describe the events (if any).
Trait Implementations
impl Clone for Output[src]
impl Default for Output[src]
impl PartialEq<Output> for Output[src]
impl StructuralPartialEq for Output[src]
Auto Trait Implementations
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnwindSafe for Output
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,
pub 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> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub 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.
pub 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>,