Struct oxygengine_composite_renderer::component::CompositeCameraAlignment [−][src]
pub struct CompositeCameraAlignment(pub Vec2);
Trait Implementations
type Storage = VecStorage<Self>
type Storage = VecStorage<Self>
Associated storage type for this component.
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
fn from_prefab_with_extras(
data: Value,
_named_entities: &HashMap<String, Entity, RandomState>,
_state_token: ID<()>
) -> Result<Self, PrefabError>
[src]Auto Trait Implementations
impl RefUnwindSafe for CompositeCameraAlignment
impl Send for CompositeCameraAlignment
impl Sync for CompositeCameraAlignment
impl Unpin for CompositeCameraAlignment
impl UnwindSafe for CompositeCameraAlignment
Blanket Implementations
impl<T> Any for T where
T: Any,
impl<T> Any for T where
T: Any,
pub fn get_type_id(&self) -> TypeId
Mutably borrows from an owned value. Read more
impl<T> TryDefault for T where
T: Default,
impl<T> TryDefault for T where
T: Default,
pub fn try_default() -> Result<T, String>
pub fn try_default() -> Result<T, String>
Tries to create the default.
fn unwrap_default() -> Self
fn unwrap_default() -> Self
Calls try_default
and panics on an error case.