Struct egui::FullOutput
source · [−]pub struct FullOutput {
pub platform_output: PlatformOutput,
pub needs_repaint: bool,
pub textures_delta: TexturesDelta,
pub shapes: Vec<ClippedShape>,
}
Expand description
What egui emits each frame from crate::Context::run
.
The backend should use this.
Fields
platform_output: PlatformOutput
Non-rendering related output.
needs_repaint: bool
If 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()
.
textures_delta: TexturesDelta
Texture changes since last frame (including the font texture).
The backend needs to apply crate::TexturesDelta::set
before painting,
and free any texture in crate::TexturesDelta::free
after painting.
shapes: Vec<ClippedShape>
What to paint.
You can use crate::Context::tessellate
to turn this into triangles.
Implementations
sourceimpl FullOutput
impl FullOutput
Trait Implementations
sourceimpl Clone for FullOutput
impl Clone for FullOutput
sourcefn clone(&self) -> FullOutput
fn clone(&self) -> FullOutput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for FullOutput
impl Default for FullOutput
sourcefn default() -> FullOutput
fn default() -> FullOutput
Returns the “default value” for a type. Read more
sourceimpl PartialEq<FullOutput> for FullOutput
impl PartialEq<FullOutput> for FullOutput
sourcefn eq(&self, other: &FullOutput) -> bool
fn eq(&self, other: &FullOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FullOutput) -> bool
fn ne(&self, other: &FullOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for FullOutput
Auto Trait Implementations
impl !RefUnwindSafe for FullOutput
impl Send for FullOutput
impl Sync for FullOutput
impl Unpin for FullOutput
impl !UnwindSafe for FullOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more