Struct oxygengine_composite_renderer::component::CompositeCamera [−][src]
pub struct CompositeCamera {
pub scaling: CompositeScalingMode,
pub scaling_target: CompositeScalingTarget,
pub tags: Vec<Cow<'static, str>>,
}Fields
scaling: CompositeScalingModescaling_target: CompositeScalingTargetImplementations
pub fn with_scaling_target(
scaling: CompositeScalingMode,
target: CompositeScalingTarget
) -> Self
Trait Implementations
Returns the “default value” for a type. Read more
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
fn from_prefab_with_extras(
data: Value,
_named_entities: &HashMap<String, Entity, RandomState>,
_state_token: ID<PhantomData<dyn State + Send + Sync + 'static>>
) -> Result<Self, PrefabError>
Auto Trait Implementations
impl RefUnwindSafe for CompositeCamera
impl Send for CompositeCamera
impl Sync for CompositeCamera
impl Unpin for CompositeCamera
impl UnwindSafe for CompositeCamera
Blanket Implementations
Mutably borrows from an owned value. Read more