Struct makepad_widgets::shader::std::os::cx_stdin::StdinScroll
pub struct StdinScroll {
pub time: f64,
pub sx: f64,
pub sy: f64,
pub x: f64,
pub y: f64,
pub is_mouse: bool,
}
Fields§
§time: f64
§sx: f64
§sy: f64
§x: f64
§y: f64
§is_mouse: bool
Trait Implementations§
§impl Clone for StdinScroll
impl Clone for StdinScroll
§fn clone(&self) -> StdinScroll
fn clone(&self) -> StdinScroll
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl DeBin for StdinScroll
impl DeBin for StdinScroll
§impl DeJson for StdinScroll
impl DeJson for StdinScroll
fn de_json( s: &mut DeJsonState, i: &mut Chars<'_> ) -> Result<StdinScroll, DeJsonErr>
fn deserialize_json(input: &str) -> Result<Self, DeJsonErr>
§impl Debug for StdinScroll
impl Debug for StdinScroll
§impl Default for StdinScroll
impl Default for StdinScroll
§fn default() -> StdinScroll
fn default() -> StdinScroll
Returns the “default value” for a type. Read more
§impl From<StdinScroll> for ScrollEvent
impl From<StdinScroll> for ScrollEvent
§fn from(v: StdinScroll) -> ScrollEvent
fn from(v: StdinScroll) -> ScrollEvent
Converts to this type from the input type.
§impl PartialEq<StdinScroll> for StdinScroll
impl PartialEq<StdinScroll> for StdinScroll
§fn eq(&self, other: &StdinScroll) -> bool
fn eq(&self, other: &StdinScroll) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl SerBin for StdinScroll
impl SerBin for StdinScroll
§impl SerJson for StdinScroll
impl SerJson for StdinScroll
fn ser_json(&self, d: usize, s: &mut SerJsonState)
fn serialize_json(&self) -> String
impl Copy for StdinScroll
impl StructuralPartialEq for StdinScroll
Auto Trait Implementations§
impl RefUnwindSafe for StdinScroll
impl Send for StdinScroll
impl Sync for StdinScroll
impl Unpin for StdinScroll
impl UnwindSafe for StdinScroll
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