pub struct TeachingTip { /* private fields */ }Implementations§
Source§impl TeachingTip
impl TeachingTip
pub fn new() -> Self
pub fn title(self, value: impl Into<String>) -> Self
pub fn title_optional<T>(self, value: Option<T>) -> Self
pub fn subtitle(self, value: impl Into<String>) -> Self
pub fn subtitle_optional<T>(self, value: Option<T>) -> Self
pub fn is_open(self, value: impl Into<Option<bool>>) -> Self
pub fn is_light_dismiss_enabled(self, value: impl Into<Option<bool>>) -> Self
pub fn preferred_placement( self, value: impl Into<Option<TeachingTipPlacementMode>>, ) -> Self
pub fn on_closed(self, callback: impl IntoUnitCallback) -> Self
Trait Implementations§
Source§impl Clone for TeachingTip
impl Clone for TeachingTip
Source§fn clone(&self) -> TeachingTip
fn clone(&self) -> TeachingTip
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 TeachingTip
impl Debug for TeachingTip
Source§impl Default for TeachingTip
impl Default for TeachingTip
Source§fn default() -> TeachingTip
fn default() -> TeachingTip
Returns the “default value” for a type. Read more
Source§impl From<TeachingTip> for View
impl From<TeachingTip> for View
Source§fn from(value: TeachingTip) -> Self
fn from(value: TeachingTip) -> Self
Converts to this type from the input type.
Source§impl LayoutControl for TeachingTip
impl LayoutControl for TeachingTip
fn width(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn height(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn min_width(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn max_width(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn min_height(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn max_height(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn opacity(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn horizontal_alignment(
self,
value: impl Into<Option<HorizontalAlignment>>,
) -> Selfwhere
Self: Sized,
fn vertical_alignment(self, value: impl Into<Option<VerticalAlignment>>) -> Selfwhere
Self: Sized,
fn margin(self, value: impl Into<Thickness>) -> Selfwhere
Self: Sized,
fn margin_optional<T>(self, value: Option<T>) -> Self
fn exit_transition(self, transition: ExitTransition) -> Selfwhere
Self: Sized,
Source§impl PartialEq for TeachingTip
impl PartialEq for TeachingTip
impl StructuralPartialEq for TeachingTip
Auto Trait Implementations§
impl !RefUnwindSafe for TeachingTip
impl !Send for TeachingTip
impl !Sync for TeachingTip
impl !UnwindSafe for TeachingTip
impl Freeze for TeachingTip
impl Unpin for TeachingTip
impl UnsafeUnpin for TeachingTip
Blanket Implementations§
Source§impl<T> AutomationExt for Twhere
T: LayoutControl,
impl<T> AutomationExt for Twhere
T: LayoutControl,
fn automation_name(self, value: impl Into<String>) -> Self
fn automation_id(self, value: impl Into<String>) -> Self
fn automation_heading_level(self, value: AutomationHeadingLevel) -> Self
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