Struct ambient_api_core::core::wasm::concepts::ModuleOptional
source · pub struct ModuleOptional {
pub is_module_on_server: Option<()>,
}
Expand description
Optional part of Module.
Fields§
§is_module_on_server: Option<()>
Component: ambient_core::wasm::is_module_on_server
Component description: Whether or not this module is on the server.
Trait Implementations§
source§impl Clone for ModuleOptional
impl Clone for ModuleOptional
source§fn clone(&self) -> ModuleOptional
fn clone(&self) -> ModuleOptional
Returns a copy of the value. Read more
1.0.0 · 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 ModuleOptional
impl Debug for ModuleOptional
source§impl Default for ModuleOptional
impl Default for ModuleOptional
source§fn default() -> ModuleOptional
fn default() -> ModuleOptional
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ModuleOptional
impl<'de> Deserialize<'de> for ModuleOptional
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 PartialEq for ModuleOptional
impl PartialEq for ModuleOptional
source§fn eq(&self, other: &ModuleOptional) -> bool
fn eq(&self, other: &ModuleOptional) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModuleOptional
impl Serialize for ModuleOptional
impl StructuralPartialEq for ModuleOptional
Auto Trait Implementations§
impl RefUnwindSafe for ModuleOptional
impl Send for ModuleOptional
impl Sync for ModuleOptional
impl Unpin for ModuleOptional
impl UnwindSafe for ModuleOptional
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