pub struct UnityContext {
pub copy_texture_support: Annotated<String>,
pub editor_version: Annotated<String>,
pub install_mode: Annotated<String>,
pub rendering_threading_mode: Annotated<String>,
pub target_frame_rate: Annotated<String>,
pub other: Object<Value>,
}
Expand description
Unity context.
The Unity context contains attributes that are specific to Unity applications.
Fields§
§copy_texture_support: Annotated<String>
Graphics texture copying capabilities.
editor_version: Annotated<String>
Unity Editor version.
install_mode: Annotated<String>
Distribution method.
rendering_threading_mode: Annotated<String>
Rendering pipeline configuration.
target_frame_rate: Annotated<String>
Target FPS setting.
other: Object<Value>
Additional arbitrary fields for forwards compatibility.
Trait Implementations§
Source§impl Clone for UnityContext
impl Clone for UnityContext
Source§fn clone(&self) -> UnityContext
fn clone(&self) -> UnityContext
Returns a duplicate 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 UnityContext
impl Debug for UnityContext
Source§impl Default for UnityContext
impl Default for UnityContext
Source§fn default() -> UnityContext
fn default() -> UnityContext
Returns the “default value” for a type. Read more
Source§impl DefaultContext for UnityContext
impl DefaultContext for UnityContext
Source§fn default_key() -> &'static str
fn default_key() -> &'static str
The default key at which this context resides in
Contexts
.Source§fn from_context(context: Context) -> Option<Self>
fn from_context(context: Context) -> Option<Self>
Converts this context type from a generic context type. Read more
Source§fn cast(context: &Context) -> Option<&Self>
fn cast(context: &Context) -> Option<&Self>
Casts a reference to this context type from a generic context type. Read more
Source§fn cast_mut(context: &mut Context) -> Option<&mut Self>
fn cast_mut(context: &mut Context) -> Option<&mut Self>
Casts a mutable reference to this context type from a generic context type. Read more
Source§fn into_context(self) -> Context
fn into_context(self) -> Context
Boxes this context type in the generic context wrapper. Read more
Source§impl Empty for UnityContext
impl Empty for UnityContext
Source§impl FromObjectRef for UnityContext
impl FromObjectRef for UnityContext
Source§fn from_object_ref(__obj: &mut Object<Value>) -> Self
fn from_object_ref(__obj: &mut Object<Value>) -> Self
Creates a meta structure from key value pairs. Read more
Source§impl FromValue for UnityContext
impl FromValue for UnityContext
Source§fn from_value(__value: Annotated<Value>) -> Annotated<Self>
fn from_value(__value: Annotated<Value>) -> Annotated<Self>
Creates a meta structure from an annotated boxed value.
Source§impl IntoObjectRef for UnityContext
impl IntoObjectRef for UnityContext
Source§fn into_object_ref(self, __map: &mut Object<Value>)
fn into_object_ref(self, __map: &mut Object<Value>)
Boxes the meta structure back into an object of values. Read more
Source§impl IntoValue for UnityContext
impl IntoValue for UnityContext
Source§fn into_value(self) -> Value
fn into_value(self) -> Value
Boxes the meta structure back into a value.
Source§fn serialize_payload<S>(
&self,
__serializer: S,
__behavior: SkipSerialization,
) -> Result<S::Ok, S::Error>where
Self: Sized,
S: Serializer,
fn serialize_payload<S>(
&self,
__serializer: S,
__behavior: SkipSerialization,
) -> Result<S::Ok, S::Error>where
Self: Sized,
S: Serializer,
Efficiently serializes the payload directly.
Source§fn extract_child_meta(&self) -> MetaMapwhere
Self: Sized,
fn extract_child_meta(&self) -> MetaMapwhere
Self: Sized,
Extracts children meta map out of a value.
§fn extract_meta_tree(value: &Annotated<Self>) -> MetaTreewhere
Self: Sized,
fn extract_meta_tree(value: &Annotated<Self>) -> MetaTreewhere
Self: Sized,
Extracts the meta tree out of annotated value. Read more
Source§impl PartialEq for UnityContext
impl PartialEq for UnityContext
Source§impl ProcessValue for UnityContext
impl ProcessValue for UnityContext
Source§fn value_type(&self) -> EnumSet<ValueType>
fn value_type(&self) -> EnumSet<ValueType>
Returns the type of the value.
Source§fn process_value<P>(
&mut self,
__meta: &mut Meta,
__processor: &mut P,
__state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
fn process_value<P>(
&mut self,
__meta: &mut Meta,
__processor: &mut P,
__state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
Executes a processor on this value.
Source§fn process_child_values<P>(
&mut self,
__processor: &mut P,
__state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
fn process_child_values<P>(
&mut self,
__processor: &mut P,
__state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
Recurses into children of this value.
impl StructuralPartialEq for UnityContext
Auto Trait Implementations§
impl Freeze for UnityContext
impl RefUnwindSafe for UnityContext
impl Send for UnityContext
impl Sync for UnityContext
impl Unpin for UnityContext
impl UnwindSafe for UnityContext
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