pub struct FloatBoxState {
pub position: Vec2,
pub zoom: Scalar,
}
Fields§
§position: Vec2
§zoom: Scalar
Trait Implementations§
Source§impl Clone for FloatBoxState
impl Clone for FloatBoxState
Source§fn clone(&self) -> FloatBoxState
fn clone(&self) -> FloatBoxState
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 FloatBoxState
impl Debug for FloatBoxState
Source§impl Default for FloatBoxState
impl Default for FloatBoxState
Source§impl<'de> Deserialize<'de> for FloatBoxState
impl<'de> Deserialize<'de> for FloatBoxState
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 Prefab for FloatBoxState
impl Prefab for FloatBoxState
fn from_prefab(data: PrefabValue) -> Result<Self, PrefabError>
fn to_prefab(&self) -> Result<PrefabValue, PrefabError>
Source§impl PropsData for FloatBoxStatewhere
Self: Clone,
impl PropsData for FloatBoxStatewhere
Self: Clone,
Source§impl Serialize for FloatBoxState
impl Serialize for FloatBoxState
impl Copy for FloatBoxState
Auto Trait Implementations§
impl Freeze for FloatBoxState
impl RefUnwindSafe for FloatBoxState
impl Send for FloatBoxState
impl Sync for FloatBoxState
impl Unpin for FloatBoxState
impl UnwindSafe for FloatBoxState
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