pub struct PropertyPresenter { /* private fields */ }Expand description
A property presenter.
Implementations§
Source§impl PropertyPresenter
impl PropertyPresenter
Present a property with button.
Sourcepub fn present_select_i32(
self,
ctx: &mut Context,
p: &Arc<dyn Property + Send + Sync>,
)
pub fn present_select_i32( self, ctx: &mut Context, p: &Arc<dyn Property + Send + Sync>, )
Present a property with integer select.
Sourcepub fn present_select(
self,
ctx: &mut Context,
p: &Arc<dyn Property + Send + Sync>,
)
pub fn present_select( self, ctx: &mut Context, p: &Arc<dyn Property + Send + Sync>, )
Present a property with select.
Sourcepub fn present_separator(
self,
ctx: &mut Context,
_p: &Arc<dyn Property + Send + Sync>,
)
pub fn present_separator( self, ctx: &mut Context, _p: &Arc<dyn Property + Send + Sync>, )
Present a property with separator.
Sourcepub fn present_slider_f32(
self,
ctx: &mut Context,
p: &Arc<dyn Property + Send + Sync>,
)
pub fn present_slider_f32( self, ctx: &mut Context, p: &Arc<dyn Property + Send + Sync>, )
Present a property with float slider.
Sourcepub fn present_slider_i32(
self,
ctx: &mut Context,
p: &Arc<dyn Property + Send + Sync>,
)
pub fn present_slider_i32( self, ctx: &mut Context, p: &Arc<dyn Property + Send + Sync>, )
Present a property with integer slider.
Sourcepub fn present_slider(
self,
ctx: &mut Context,
p: &Arc<dyn Property + Send + Sync>,
)
pub fn present_slider( self, ctx: &mut Context, p: &Arc<dyn Property + Send + Sync>, )
Present a property with slider.
Sourcepub fn present_spin_box_f32(
self,
ctx: &mut Context,
p: &Arc<dyn Property + Send + Sync>,
)
pub fn present_spin_box_f32( self, ctx: &mut Context, p: &Arc<dyn Property + Send + Sync>, )
Present a property with float spin box.
Sourcepub fn present_spin_box_i32(
self,
ctx: &mut Context,
p: &Arc<dyn Property + Send + Sync>,
)
pub fn present_spin_box_i32( self, ctx: &mut Context, p: &Arc<dyn Property + Send + Sync>, )
Present a property with integer spin box.
Sourcepub fn present_spin_box(
self,
ctx: &mut Context,
p: &Arc<dyn Property + Send + Sync>,
)
pub fn present_spin_box( self, ctx: &mut Context, p: &Arc<dyn Property + Send + Sync>, )
Present a property with spin box.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PropertyPresenter
impl RefUnwindSafe for PropertyPresenter
impl !Send for PropertyPresenter
impl !Sync for PropertyPresenter
impl Unpin for PropertyPresenter
impl UnwindSafe for PropertyPresenter
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