pub trait IScrollViewState: IObject {
Show 20 methods
// Provided methods
fn position(self) -> Rect { ... }
fn set_position(self, value: Rect) { ... }
fn visible_rect(self) -> Rect { ... }
fn set_visible_rect(self, value: Rect) { ... }
fn view_rect(self) -> Rect { ... }
fn set_view_rect(self, value: Rect) { ... }
fn scroll_position(self) -> Vector2 { ... }
fn set_scroll_position(self, value: Vector2) { ... }
fn apply(self) -> bool { ... }
fn set_apply(self, value: bool) { ... }
fn is_during_touch_scroll(self) -> bool { ... }
fn set_is_during_touch_scroll(self, value: bool) { ... }
fn touch_scroll_start_mouse_position(self) -> Vector2 { ... }
fn set_touch_scroll_start_mouse_position(self, value: Vector2) { ... }
fn touch_scroll_start_position(self) -> Vector2 { ... }
fn set_touch_scroll_start_position(self, value: Vector2) { ... }
fn velocity(self) -> Vector2 { ... }
fn set_velocity(self, value: Vector2) { ... }
fn previous_time_since_startup(self) -> f32 { ... }
fn set_previous_time_since_startup(self, value: f32) { ... }
}Provided Methods§
fn position(self) -> Rect
fn set_position(self, value: Rect)
fn visible_rect(self) -> Rect
fn set_visible_rect(self, value: Rect)
fn view_rect(self) -> Rect
fn set_view_rect(self, value: Rect)
fn scroll_position(self) -> Vector2
fn set_scroll_position(self, value: Vector2)
fn apply(self) -> bool
fn set_apply(self, value: bool)
fn is_during_touch_scroll(self) -> bool
fn set_is_during_touch_scroll(self, value: bool)
fn touch_scroll_start_mouse_position(self) -> Vector2
fn set_touch_scroll_start_mouse_position(self, value: Vector2)
fn touch_scroll_start_position(self) -> Vector2
fn set_touch_scroll_start_position(self, value: Vector2)
fn velocity(self) -> Vector2
fn set_velocity(self, value: Vector2)
fn previous_time_since_startup(self) -> f32
fn set_previous_time_since_startup(self, value: f32)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.