pub struct OverlayEntry {
pub child: Box<LenraComponent>,
pub maintain_state: Option<bool>,
pub opaque: Option<bool>,
pub show_overlay: Option<bool>,
pub type_: Value,
}Expand description
Element of type OverlayEntry
Fields§
§child: Box<LenraComponent>§maintain_state: Option<bool>Whether this entry must be included in the tree even if there is a fully opaque entry above it.
opaque: Option<bool>Whether this entry occludes the entire overlay.
show_overlay: Option<bool>Whether this entry should be shown.
type_: ValueThe identifier of the component
Implementations§
Source§impl OverlayEntry
impl OverlayEntry
pub fn builder() -> OverlayEntry
Trait Implementations§
Source§impl Clone for OverlayEntry
impl Clone for OverlayEntry
Source§impl Debug for OverlayEntry
impl Debug for OverlayEntry
Source§impl<'de> Deserialize<'de> for OverlayEntry
impl<'de> Deserialize<'de> for OverlayEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&OverlayEntry> for OverlayEntry
impl From<&OverlayEntry> for OverlayEntry
Source§fn from(value: &OverlayEntry) -> Self
fn from(value: &OverlayEntry) -> Self
Converts to this type from the input type.
Source§impl From<OverlayEntry> for LenraComponent
impl From<OverlayEntry> for LenraComponent
Source§fn from(value: OverlayEntry) -> Self
fn from(value: OverlayEntry) -> Self
Converts to this type from the input type.
Source§impl From<OverlayEntry> for OverlayEntry
impl From<OverlayEntry> for OverlayEntry
Source§fn from(value: OverlayEntry) -> Self
fn from(value: OverlayEntry) -> Self
Converts to this type from the input type.
Source§impl Serialize for OverlayEntry
impl Serialize for OverlayEntry
Source§impl TryFrom<OverlayEntry> for OverlayEntry
impl TryFrom<OverlayEntry> for OverlayEntry
Auto Trait Implementations§
impl Freeze for OverlayEntry
impl RefUnwindSafe for OverlayEntry
impl Send for OverlayEntry
impl Sync for OverlayEntry
impl Unpin for OverlayEntry
impl UnsafeUnpin for OverlayEntry
impl UnwindSafe for OverlayEntry
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