pub struct FrameRequest {
pub why: &'static str,
pub at: &'static Location<'static>,
}Expand description
Where a frame was asked for: a Core::request_frame call, or one the
core makes for itself.
Fields§
§why: &'static str"request_frame" for a call to Core::request_frame or
Ui::request_frame — the app’s or a binding’s, which at tells
apart. A door that asks for the frame that lands it is named for
itself, at its caller’s line: "reveal",
"reveal_label", "set_scroll", "set_scroll_label",
"focus_region", "focus_region_by_label",
"request_focus_step" (Ui::focus_next, Ui::focus_prev),
"request_files". The core’s and its widgets’ own asks say what
they are for: "scrollbar fade", "atlas full",
"long line rows", "resliced", "devtools",
"list first frame".
at: &'static Location<'static>The source line that asked (#[track_caller]): the app’s own for
its calls, a binding’s for a guest’s, kui’s for its own asks.
Trait Implementations§
Source§impl Clone for FrameRequest
impl Clone for FrameRequest
Source§fn clone(&self) -> FrameRequest
fn clone(&self) -> FrameRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for FrameRequest
Source§impl Debug for FrameRequest
impl Debug for FrameRequest
impl Eq for FrameRequest
Source§impl PartialEq for FrameRequest
impl PartialEq for FrameRequest
impl StructuralPartialEq for FrameRequest
Auto Trait Implementations§
impl Freeze for FrameRequest
impl RefUnwindSafe for FrameRequest
impl Send for FrameRequest
impl Sync for FrameRequest
impl Unpin for FrameRequest
impl UnsafeUnpin for FrameRequest
impl UnwindSafe for FrameRequest
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
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> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.