pub struct ScrollbarModel {
pub track: Rect,
pub thumb: Rect,
pub visible: bool,
}Fields§
§track: Rect§thumb: Rect§visible: boolTrait Implementations§
Source§impl Clone for ScrollbarModel
impl Clone for ScrollbarModel
Source§fn clone(&self) -> ScrollbarModel
fn clone(&self) -> ScrollbarModel
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 moreimpl Copy for ScrollbarModel
Source§impl Debug for ScrollbarModel
impl Debug for ScrollbarModel
Source§impl<'de> Deserialize<'de> for ScrollbarModel
impl<'de> Deserialize<'de> for ScrollbarModel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ScrollbarModel
impl PartialEq for ScrollbarModel
Source§fn eq(&self, other: &ScrollbarModel) -> bool
fn eq(&self, other: &ScrollbarModel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ScrollbarModel
impl Serialize for ScrollbarModel
impl StructuralPartialEq for ScrollbarModel
Auto Trait Implementations§
impl Freeze for ScrollbarModel
impl RefUnwindSafe for ScrollbarModel
impl Send for ScrollbarModel
impl Sync for ScrollbarModel
impl Unpin for ScrollbarModel
impl UnsafeUnpin for ScrollbarModel
impl UnwindSafe for ScrollbarModel
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