pub struct LogicOutput {
pub platform_output: PlatformOutput,
pub viewport_commands: BTreeMap<ViewportId, Vec<ViewportCommand>>,
}Available on crate feature
egui only.Expand description
What egui emits from crate::Context::run_logic, i.e. from a tick where no ui was shown.
There is nothing to paint, but the app may still have asked the integration to do things,
e.g. to show a hidden window again with crate::ViewportCommand::Focus.
Fields§
§platform_output: PlatformOutputNon-rendering related output.
viewport_commands: BTreeMap<ViewportId, Vec<ViewportCommand>>The commands sent with crate::Context::send_viewport_cmd and friends.
Note that this contains no information about which viewports exist: the integration should leave its viewports as they are.
Trait Implementations§
Source§impl Clone for LogicOutput
impl Clone for LogicOutput
Source§fn clone(&self) -> LogicOutput
fn clone(&self) -> LogicOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for LogicOutput
impl Default for LogicOutput
Source§fn default() -> LogicOutput
fn default() -> LogicOutput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for LogicOutput
impl !UnwindSafe for LogicOutput
impl Forget for LogicOutput
impl Freeze for LogicOutputwhere
*const u8 is !null: Freeze,
PhantomData<OutputCommand>: Freeze,
*const ArcInner<[u8]> is !null: Freeze,
PhantomData<ArcInner<[u8]>>: Freeze,
PhantomData<OutputEvent>: Freeze,
PhantomData<(NodeId, Node)>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<RepaintCause>: Freeze,
*const LeafNode<ViewportId, Vec<ViewportCommand>> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(ViewportId, Vec<ViewportCommand>)>>: Freeze,
impl Move for LogicOutput
impl Send for LogicOutputwhere
RawVecInner: Send,
Arc<[u8]>: Send,
BoxRaw<Affine>: Send,
BoxRaw<TextSelection>: Send,
&'static str: Send,
String: Send,
NodeRef<Owned, ViewportId, Vec<ViewportCommand>, LeafOrInternal>: Send,
BoxRaw<(ViewportId, Vec<ViewportCommand>)>: Send,
impl Sync for LogicOutputwhere
RawVecInner: Sync,
Arc<[u8]>: Sync,
BoxRaw<Affine>: Sync,
BoxRaw<TextSelection>: Sync,
String: Sync,
NodeRef<Owned, ViewportId, Vec<ViewportCommand>, LeafOrInternal>: Sync,
BoxRaw<(ViewportId, Vec<ViewportCommand>)>: Sync,
impl Unpin for LogicOutput
impl UnsafeUnpin for LogicOutputwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<OutputCommand>: UnsafeUnpin,
*const ArcInner<[u8]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[u8]>>: UnsafeUnpin,
PhantomData<OutputEvent>: UnsafeUnpin,
PhantomData<(NodeId, Node)>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<RepaintCause>: UnsafeUnpin,
*const LeafNode<ViewportId, Vec<ViewportCommand>> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(ViewportId, Vec<ViewportCommand>)>>: UnsafeUnpin,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more