Struct gveditor_core_api::state::State [−][src]
pub struct State {
pub id: u8,
// some fields omitted
}
Expand description
A state is like a small configuration, like a profile It stores what tabs do you have open, what extensions to load
Fields
id: u8
Implementations
pub fn get_fs_by_name(
&self,
filesystem: &str
) -> Option<Arc<Mutex<Box<dyn Filesystem + Send>>>>
pub fn get_fs_by_name(
&self,
filesystem: &str
) -> Option<Arc<Mutex<Box<dyn Filesystem + Send>>>>
Retrieve the specified filesystem by the given name
Run all the extensions in the manager
Notify all the extensions in a state about a message, asynchronously and independently
Try to retrieve info about a perticular loaded extension
Try to retrieve info about a perticular loaded extension’s runtime
Return the list of loaded extensions
Trait Implementations
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
Auto Trait Implementations
impl !RefUnwindSafe for State
impl !UnwindSafe for State
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more