pub struct ProviderScrollState {
pub recipient_id: String,
pub axis: Orientation,
pub offset: i64,
pub viewport: i64,
pub extent: i64,
}Expand description
Revision-bound application viewport state for one semantic recipient.
Fields§
§recipient_id: StringStable semantic recipient id.
axis: OrientationLogical scroll axis.
offset: i64First visible logical unit.
viewport: i64Visible logical units.
extent: i64Total logical units.
Trait Implementations§
Source§impl Clone for ProviderScrollState
impl Clone for ProviderScrollState
Source§fn clone(&self) -> ProviderScrollState
fn clone(&self) -> ProviderScrollState
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 ProviderScrollState
impl Debug for ProviderScrollState
Source§impl<'de> Deserialize<'de> for ProviderScrollState
impl<'de> Deserialize<'de> for ProviderScrollState
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
impl Eq for ProviderScrollState
Source§impl PartialEq for ProviderScrollState
impl PartialEq for ProviderScrollState
Source§impl Serialize for ProviderScrollState
impl Serialize for ProviderScrollState
impl StructuralPartialEq for ProviderScrollState
Auto Trait Implementations§
impl Freeze for ProviderScrollState
impl RefUnwindSafe for ProviderScrollState
impl Send for ProviderScrollState
impl Sync for ProviderScrollState
impl Unpin for ProviderScrollState
impl UnsafeUnpin for ProviderScrollState
impl UnwindSafe for ProviderScrollState
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