#[repr(C)]pub struct ScrollerPatch {
pub id: u32,
pub transform: Option<Vec<f64>>,
pub size_x: Option<f64>,
pub size_y: Option<f64>,
pub size_inner_pane_x: Option<f64>,
pub size_inner_pane_y: Option<f64>,
pub scroll_x: Option<f64>,
pub scroll_y: Option<f64>,
pub scroll_enabled_x: Option<bool>,
pub scroll_enabled_y: Option<bool>,
pub subtree_depth: u32,
}
Fields§
§id: u32
§transform: Option<Vec<f64>>
§size_x: Option<f64>
§size_y: Option<f64>
§size_inner_pane_x: Option<f64>
§size_inner_pane_y: Option<f64>
§scroll_x: Option<f64>
§scroll_y: Option<f64>
§scroll_enabled_x: Option<bool>
§scroll_enabled_y: Option<bool>
§subtree_depth: u32
Trait Implementations§
Source§impl Debug for ScrollerPatch
impl Debug for ScrollerPatch
Source§impl Default for ScrollerPatch
impl Default for ScrollerPatch
Source§fn default() -> ScrollerPatch
fn default() -> ScrollerPatch
Returns the “default value” for a type. Read more
Source§impl Serialize for ScrollerPatch
impl Serialize for ScrollerPatch
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ScrollerPatch
impl RefUnwindSafe for ScrollerPatch
impl Send for ScrollerPatch
impl Sync for ScrollerPatch
impl Unpin for ScrollerPatch
impl UnwindSafe for ScrollerPatch
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
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.