pub struct HandleProps {Show 16 fields
pub selected: bool,
pub position: i32,
pub color: Color,
pub value: f32,
pub text: String,
pub texture: Option<Image>,
pub redraws: i32,
pub scroll_offset: f32,
pub scroll_enabled: bool,
pub layout: Layout,
pub last_max_x: f32,
pub last_max_y: f32,
pub drag_enabled: bool,
pub drag_x: i32,
pub drag_y: i32,
pub changed: bool,
/* private fields */
}Fields
selected: boolposition: i32color: Colorvalue: f32text: Stringtexture: Option<Image>redraws: i32scroll_offset: f32scroll_enabled: boollayout: Layoutlast_max_x: f32last_max_y: f32drag_enabled: booldrag_x: i32drag_y: i32changed: boolTrait Implementations
sourceimpl Clone for HandleProps
impl Clone for HandleProps
sourcefn clone(&self) -> HandleProps
fn clone(&self) -> HandleProps
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl RefUnwindSafe for HandleProps
impl Send for HandleProps
impl Sync for HandleProps
impl Unpin for HandleProps
impl UnwindSafe for HandleProps
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
sourcefn into_color(self) -> To
fn into_color(self) -> To
Convert into color
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
Sets value as a parameter of self.