ScrollHandleOffsetable

Trait ScrollHandleOffsetable 

Source
pub trait ScrollHandleOffsetable {
    // Required methods
    fn offset(&self) -> Point<Pixels>;
    fn set_offset(&self, offset: Point<Pixels>);
    fn content_size(&self) -> Size<Pixels>;

    // Provided method
    fn is_uniform_list(&self) -> bool { ... }
}

Required Methods§

Source

fn offset(&self) -> Point<Pixels>

Source

fn set_offset(&self, offset: Point<Pixels>)

Source

fn content_size(&self) -> Size<Pixels>

The full size of the content, including padding.

Provided Methods§

Implementations on Foreign Types§

Source§

impl ScrollHandleOffsetable for ScrollHandle

Source§

impl ScrollHandleOffsetable for UniformListScrollHandle

Implementors§