| CARVIEW |
Select Language
HTTP/2 200
date: Mon, 29 Dec 2025 21:34:52 GMT
content-type: text/html; charset=utf-8
server: cloudflare
last-modified: Wed, 03 Dec 2025 10:36:52 GMT
access-control-allow-origin: *
strict-transport-security: max-age=31536000; includeSubDomains; preload
expires: Mon, 29 Dec 2025 21:44:52 GMT
cache-control: max-age=600
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=B8k3lDp7ll0VJB9eBgNd69YHBLVCOTs%2Ft%2BmT2jdUM6G%2B3ZuyWvPM5fiEw5RiOFMnQ%2F6M6PVN6fVwCRnEmM1rTUfByRIGeDTsNKzfmc4%3D"}]}
x-proxy-cache: MISS
x-github-request-id: 72A0:2916CC:963ED8:A877A7:6952F3FB
x-content-type-options: nosniff
age: 0
via: 1.1 varnish
x-served-by: cache-bom-vanm7210041-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1767044093.690363,VS0,VE203
vary: Accept-Encoding
x-fastly-request-id: bf299a6fa334e88adba345235b7b0a79cd58f995
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
content-encoding: gzip
cf-ray: 9b5c6c8b0b2f3a48-BOM
alt-svc: h3=":443"; ma=86400
MouseButtonAction in servo - Rust
Source§ Source§ § § § § § §
Source§impl<T> DeserializeOwned for T
Source§impl<T> ErasedDestructor for T
Source§ Source§impl<T> WasmNotSend for T
Source§impl<T> WasmNotSendSync for T
Source§impl<T> WasmNotSync for T
MouseButtonAction
pub enum MouseButtonAction {
Down,
Up,
}Expand description
The types of mouse events
Variants§
Trait Implementations§
Source§impl Clone for MouseButtonAction
impl Clone for MouseButtonAction
Source§fn clone(&self) -> MouseButtonAction
fn clone(&self) -> MouseButtonAction
Returns a duplicate 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 moreSource§impl Debug for MouseButtonAction
impl Debug for MouseButtonAction
Source§impl<'de> Deserialize<'de> for MouseButtonAction
impl<'de> Deserialize<'de> for MouseButtonAction
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MouseButtonAction, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MouseButtonAction, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl MallocSizeOf for MouseButtonAction
impl MallocSizeOf for MouseButtonAction
Source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
Source§impl PartialEq for MouseButtonAction
impl PartialEq for MouseButtonAction
Source§impl Serialize for MouseButtonAction
impl Serialize for MouseButtonAction
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
impl Copy for MouseButtonAction
impl StructuralPartialEq for MouseButtonAction
Auto Trait Implementations§
impl Freeze for MouseButtonAction
impl RefUnwindSafe for MouseButtonAction
impl Send for MouseButtonAction
impl Sync for MouseButtonAction
impl Unpin for MouseButtonAction
impl UnwindSafe for MouseButtonAction
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Filterable for T
impl<T> Filterable for T
Source§fn filterable(
self,
filter_name: &'static str,
) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
Creates a filterable data provider with the given name for debugging. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> MaybeBoxed<Box<T>> for T
impl<T> MaybeBoxed<Box<T>> for T
Source§fn maybe_boxed(self) -> Box<T>
fn maybe_boxed(self) -> Box<T>
Convert
Source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
Source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert