pub struct ScrollView { /* private fields */ }Available on macOS only.
Implementations§
Source§impl ScrollView
impl ScrollView
pub fn new(parent: impl AsContainer) -> Result<Self>
pub fn is_visible(&self) -> Result<bool>
pub fn set_visible(&mut self, v: bool) -> Result<()>
pub fn is_enabled(&self) -> Result<bool>
pub fn set_enabled(&mut self, v: bool) -> Result<()>
pub fn loc(&self) -> Result<Point>
pub fn set_loc(&mut self, p: Point) -> Result<()>
pub fn size(&self) -> Result<Size>
pub fn set_size(&mut self, v: Size) -> Result<()>
pub fn hscroll(&self) -> Result<bool>
pub fn set_hscroll(&mut self, v: bool) -> Result<()>
pub fn vscroll(&self) -> Result<bool>
pub fn set_vscroll(&mut self, v: bool) -> Result<()>
pub async fn start(&self) -> !
Trait Implementations§
Source§impl AsContainer for ScrollView
impl AsContainer for ScrollView
Source§fn as_container(&self) -> BorrowedContainer<'_>
fn as_container(&self) -> BorrowedContainer<'_>
Get the container handle.
Source§impl AsWidget for ScrollView
impl AsWidget for ScrollView
Source§fn as_widget(&self) -> BorrowedWidget<'_>
fn as_widget(&self) -> BorrowedWidget<'_>
Get the widget handle.
Auto Trait Implementations§
impl !RefUnwindSafe for ScrollView
impl !Send for ScrollView
impl !Sync for ScrollView
impl !UnwindSafe for ScrollView
impl Freeze for ScrollView
impl Unpin for ScrollView
impl UnsafeUnpin for ScrollView
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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