#[repr(C)]pub struct ArkUI_GridItemRect {
pub rowStart: u32,
pub columnStart: u32,
pub rowSpan: u32,
pub columnSpan: u32,
}Available on crate features
api-12 and api-22 only.Expand description
Defines the return value structure for the onGetRectByIndex callback in Grid layout options.
Available since API-level: 22
Fields§
§rowStart: u32Starting row position of the GridItem component.
columnStart: u32Starting column position of the GridItem component.
rowSpan: u32Number of rows occupied by the GridItem component.
columnSpan: u32Number of columns occupied by the GridItem component.
Trait Implementations§
Source§impl Clone for ArkUI_GridItemRect
impl Clone for ArkUI_GridItemRect
Source§fn clone(&self) -> ArkUI_GridItemRect
fn clone(&self) -> ArkUI_GridItemRect
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ArkUI_GridItemRect
impl Debug for ArkUI_GridItemRect
impl Copy for ArkUI_GridItemRect
Auto Trait Implementations§
impl Freeze for ArkUI_GridItemRect
impl RefUnwindSafe for ArkUI_GridItemRect
impl Send for ArkUI_GridItemRect
impl Sync for ArkUI_GridItemRect
impl Unpin for ArkUI_GridItemRect
impl UnsafeUnpin for ArkUI_GridItemRect
impl UnwindSafe for ArkUI_GridItemRect
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