Struct egui::UiStackInfo
source · pub struct UiStackInfo {
pub kind: Option<UiKind>,
pub frame: Frame,
pub tags: UiTags,
}
Fields§
§kind: Option<UiKind>
§frame: Frame
Implementations§
source§impl UiStackInfo
impl UiStackInfo
sourcepub fn new(kind: UiKind) -> Self
pub fn new(kind: UiKind) -> Self
Create a new UiStackInfo
with the given kind and an empty frame.
pub fn with_frame(self, frame: Frame) -> Self
Trait Implementations§
source§impl Clone for UiStackInfo
impl Clone for UiStackInfo
source§fn clone(&self) -> UiStackInfo
fn clone(&self) -> UiStackInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UiStackInfo
impl Debug for UiStackInfo
source§impl Default for UiStackInfo
impl Default for UiStackInfo
source§fn default() -> UiStackInfo
fn default() -> UiStackInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UiStackInfo
impl !RefUnwindSafe for UiStackInfo
impl Send for UiStackInfo
impl Sync for UiStackInfo
impl Unpin for UiStackInfo
impl !UnwindSafe for UiStackInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)