pub struct Button<'a> { /* private fields */ }
Expand description
A struct representing the buttons that are
attached to an Activity
An activity may have a maximum of 2 buttons
Implementations§
Trait Implementations§
§impl<'a> Ord for Button<'a>
impl<'a> Ord for Button<'a>
§impl<'a> PartialEq<Button<'a>> for Button<'a>
impl<'a> PartialEq<Button<'a>> for Button<'a>
§impl<'a> PartialOrd<Button<'a>> for Button<'a>
impl<'a> PartialOrd<Button<'a>> for Button<'a>
§fn partial_cmp(&self, other: &Button<'a>) -> Option<Ordering>
fn partial_cmp(&self, other: &Button<'a>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more§impl<'a> Serialize for Button<'a>
impl<'a> Serialize for Button<'a>
§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<'a> Copy for Button<'a>
impl<'a> Eq for Button<'a>
impl<'a> StructuralEq for Button<'a>
impl<'a> StructuralPartialEq for Button<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Button<'a>
impl<'a> Send for Button<'a>
impl<'a> Sync for Button<'a>
impl<'a> Unpin for Button<'a>
impl<'a> UnwindSafe for Button<'a>
Blanket Implementations§
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.