Struct i_slint_core::component::IndexRange
source · #[repr(C)]pub struct IndexRange {
pub start: usize,
pub end: usize,
}Expand description
A range of indices
Fields§
§start: usizeStart index
end: usizeIndex one past the last index
Trait Implementations§
source§impl From<IndexRange> for Range<usize>
impl From<IndexRange> for Range<usize>
source§fn from(r: IndexRange) -> Self
fn from(r: IndexRange) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for IndexRange
impl Send for IndexRange
impl Sync for IndexRange
impl Unpin for IndexRange
impl UnwindSafe for IndexRange
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