Enum SelectionBehavior
#[repr(i32)]pub enum SelectionBehavior {
None = 0,
BringToCenter = 1,
}Expand description
Legacy version of enum “kanzi.ListBoxConcept.SelectionBehavior”. Behaviors for the List %Box when an item in the List %Box is selected.
Variants§
None = 0
When the selection changes, List %Box does not change item positions in the list box area.
BringToCenter = 1
List %Box brings selected item to the center of the list box area.
Implementations§
§impl SelectionBehavior
impl SelectionBehavior
pub fn as_str(self) -> &'static str
pub fn convert(num: i32) -> SelectionBehavior
Trait Implementations§
§impl Clone for SelectionBehavior
impl Clone for SelectionBehavior
§fn clone(&self) -> SelectionBehavior
fn clone(&self) -> SelectionBehavior
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 more§impl Debug for SelectionBehavior
impl Debug for SelectionBehavior
§impl Display for SelectionBehavior
impl Display for SelectionBehavior
§impl PartialEq for SelectionBehavior
impl PartialEq for SelectionBehavior
§impl VariantConstraint for SelectionBehavior
impl VariantConstraint for SelectionBehavior
§type DataArg<'a> = SelectionBehavior
type DataArg<'a> = SelectionBehavior
Specifies the type of an argument that provides a value to
Variant.
Generally, this type matches Self, except for KanziString, Resource, and ResourceId. Read more§type RetArg = SelectionBehavior
type RetArg = SelectionBehavior
§fn as_arg(&self) -> <SelectionBehavior as VariantConstraint>::DataArg<'_>
fn as_arg(&self) -> <SelectionBehavior as VariantConstraint>::DataArg<'_>
impl Copy for SelectionBehavior
impl Eq for SelectionBehavior
impl PropertyTypeConstraint for SelectionBehavior
impl StructuralPartialEq for SelectionBehavior
Auto Trait Implementations§
impl Freeze for SelectionBehavior
impl RefUnwindSafe for SelectionBehavior
impl Send for SelectionBehavior
impl Sync for SelectionBehavior
impl Unpin for SelectionBehavior
impl UnwindSafe for SelectionBehavior
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