pub enum SurfaceRuntimeKind {
NativeCli,
NativeServer,
Wasm,
Browser,
Mobile,
Unknown,
}Variants§
Implementations§
Source§impl SurfaceRuntimeKind
impl SurfaceRuntimeKind
pub fn can_setup_models(&self) -> bool
pub fn can_run_external_processes(&self) -> bool
Trait Implementations§
Source§impl Clone for SurfaceRuntimeKind
impl Clone for SurfaceRuntimeKind
Source§fn clone(&self) -> SurfaceRuntimeKind
fn clone(&self) -> SurfaceRuntimeKind
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 moreSource§impl Debug for SurfaceRuntimeKind
impl Debug for SurfaceRuntimeKind
Source§impl<'de> Deserialize<'de> for SurfaceRuntimeKind
impl<'de> Deserialize<'de> for SurfaceRuntimeKind
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 Eq for SurfaceRuntimeKind
Source§impl PartialEq for SurfaceRuntimeKind
impl PartialEq for SurfaceRuntimeKind
Source§fn eq(&self, other: &SurfaceRuntimeKind) -> bool
fn eq(&self, other: &SurfaceRuntimeKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SurfaceRuntimeKind
impl Serialize for SurfaceRuntimeKind
impl StructuralPartialEq for SurfaceRuntimeKind
Auto Trait Implementations§
impl Freeze for SurfaceRuntimeKind
impl RefUnwindSafe for SurfaceRuntimeKind
impl Send for SurfaceRuntimeKind
impl Sync for SurfaceRuntimeKind
impl Unpin for SurfaceRuntimeKind
impl UnsafeUnpin for SurfaceRuntimeKind
impl UnwindSafe for SurfaceRuntimeKind
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