pub struct FloatBoxProps {
pub bounds_left: Option<Scalar>,
pub bounds_right: Option<Scalar>,
pub bounds_top: Option<Scalar>,
pub bounds_bottom: Option<Scalar>,
}
Fields§
§bounds_left: Option<Scalar>
§bounds_right: Option<Scalar>
§bounds_top: Option<Scalar>
§bounds_bottom: Option<Scalar>
Trait Implementations§
Source§impl Clone for FloatBoxProps
impl Clone for FloatBoxProps
Source§fn clone(&self) -> FloatBoxProps
fn clone(&self) -> FloatBoxProps
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 FloatBoxProps
impl Debug for FloatBoxProps
Source§impl Default for FloatBoxProps
impl Default for FloatBoxProps
Source§fn default() -> FloatBoxProps
fn default() -> FloatBoxProps
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FloatBoxProps
impl<'de> Deserialize<'de> for FloatBoxProps
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 FloatBoxProps
impl Prefab for FloatBoxProps
fn from_prefab(data: PrefabValue) -> Result<Self, PrefabError>
fn to_prefab(&self) -> Result<PrefabValue, PrefabError>
Source§impl PropsData for FloatBoxPropswhere
Self: Clone,
impl PropsData for FloatBoxPropswhere
Self: Clone,
Source§impl Serialize for FloatBoxProps
impl Serialize for FloatBoxProps
impl Copy for FloatBoxProps
Auto Trait Implementations§
impl Freeze for FloatBoxProps
impl RefUnwindSafe for FloatBoxProps
impl Send for FloatBoxProps
impl Sync for FloatBoxProps
impl Unpin for FloatBoxProps
impl UnwindSafe for FloatBoxProps
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