pub struct SystemInfo {
pub library_name: String,
pub library_version: String,
pub valid_extensions: Option<String>,
pub need_fullpath: bool,
pub block_extract: bool,
}Expand description
Static metadata returned to the frontend by Core::system_info.
Prefer applying a ContentContract to this value so valid_extensions,
need_fullpath, and block_extract stay consistent with the environment
registration done in Core::on_set_environment.
Fields§
§library_name: String§library_version: String§valid_extensions: Option<String>§need_fullpath: bool§block_extract: boolImplementations§
Trait Implementations§
Source§impl Clone for SystemInfo
impl Clone for SystemInfo
Source§fn clone(&self) -> SystemInfo
fn clone(&self) -> SystemInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SystemInfo
impl RefUnwindSafe for SystemInfo
impl Send for SystemInfo
impl Sync for SystemInfo
impl Unpin for SystemInfo
impl UnsafeUnpin for SystemInfo
impl UnwindSafe for SystemInfo
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