pub struct SwiperIndicator { /* private fields */ }Expand description
Swiper indicator option wrapper.
Implementations§
Source§impl SwiperIndicator
impl SwiperIndicator
pub fn new(type_: SwiperIndicatorType) -> ArkUIResult<Self>
pub fn dispose(self)
pub fn set_start_position(&mut self, value: f32)
pub fn get_start_position(&self) -> f32
pub fn set_top_position(&mut self, value: f32)
pub fn get_top_position(&self) -> f32
pub fn set_end_position(&mut self, value: f32)
pub fn get_end_position(&self) -> f32
pub fn set_bottom_position(&mut self, value: f32)
pub fn get_bottom_position(&self) -> f32
pub fn set_item_width(&mut self, value: f32)
pub fn get_item_width(&self) -> f32
pub fn set_item_height(&mut self, value: f32)
pub fn get_item_height(&self) -> f32
pub fn set_selected_item_width(&mut self, value: f32)
pub fn get_selected_item_width(&self) -> f32
pub fn set_selected_item_height(&mut self, value: f32)
pub fn get_selected_item_height(&self) -> f32
pub fn set_mask(&mut self, mask: i32)
pub fn get_mask(&self) -> i32
pub fn set_color(&mut self, color: u32)
pub fn get_color(&self) -> u32
pub fn set_selected_color(&mut self, color: u32)
pub fn get_selected_color(&self) -> u32
pub fn set_max_display_count( &mut self, max_display_count: i32, ) -> ArkUIResult<()>
pub fn get_max_display_count(&self) -> i32
Trait Implementations§
Source§impl From<&SwiperIndicator> for ArkUINodeAttributeItem
impl From<&SwiperIndicator> for ArkUINodeAttributeItem
Source§fn from(value: &SwiperIndicator) -> Self
fn from(value: &SwiperIndicator) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Send for SwiperIndicator
impl !Sync for SwiperIndicator
impl Freeze for SwiperIndicator
impl RefUnwindSafe for SwiperIndicator
impl Unpin for SwiperIndicator
impl UnsafeUnpin for SwiperIndicator
impl UnwindSafe for SwiperIndicator
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