pub struct SliderViewProps {
pub input: Option<SliderInput>,
pub from: Scalar,
pub to: Scalar,
pub direction: SliderViewDirection,
}
Fields§
§input: Option<SliderInput>
§from: Scalar
§to: Scalar
§direction: SliderViewDirection
Implementations§
Trait Implementations§
source§impl Clone for SliderViewProps
impl Clone for SliderViewProps
source§fn clone(&self) -> SliderViewProps
fn clone(&self) -> SliderViewProps
Returns a copy 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 SliderViewProps
impl Debug for SliderViewProps
source§impl Default for SliderViewProps
impl Default for SliderViewProps
source§fn default() -> SliderViewProps
fn default() -> SliderViewProps
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SliderViewProps
impl<'de> Deserialize<'de> for SliderViewProps
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 SliderViewProps
impl Prefab for SliderViewProps
fn from_prefab(data: PrefabValue) -> Result<Self, PrefabError>
fn to_prefab(&self) -> Result<PrefabValue, PrefabError>
source§impl PropsData for SliderViewPropswhere
Self: Clone,
impl PropsData for SliderViewPropswhere
Self: Clone,
Auto Trait Implementations§
impl Freeze for SliderViewProps
impl !RefUnwindSafe for SliderViewProps
impl Send for SliderViewProps
impl Sync for SliderViewProps
impl Unpin for SliderViewProps
impl !UnwindSafe for SliderViewProps
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)