pub struct ScopeInfo {
pub id: ScopeId,
pub title: String,
pub focus: Vec<String>,
pub durable: bool,
pub cap: usize,
pub local: bool,
}Expand description
A history, described.
Fields§
§id: ScopeId§title: StringIts title, as the history panel shows it.
focus: Vec<String>The focus surfaces and panels that show it: while one of them is drawn, the scope is active in the window. Empty: always active.
durable: boolWhether it survives a restart.
cap: usizeHow many steps it keeps in memory.
local: boolA component’s own history, kept by the interface (the theme editor’s draft), not the owner’s.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ScopeInfo
impl<'de> Deserialize<'de> for ScopeInfo
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
impl StructuralPartialEq for ScopeInfo
Auto Trait Implementations§
impl Freeze for ScopeInfo
impl RefUnwindSafe for ScopeInfo
impl Send for ScopeInfo
impl Sync for ScopeInfo
impl Unpin for ScopeInfo
impl UnsafeUnpin for ScopeInfo
impl UnwindSafe for ScopeInfo
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