Skip to main content

TutorialsModel

Struct TutorialsModel 

Source
pub struct TutorialsModel<'a>(/* private fields */);

Implementations§

Source§

impl<'a> TutorialsModel<'a>

Source

pub fn get_browser_open(&self) -> bool

Source

pub fn set_browser_open(&self, value: bool)

Source

pub fn invoke_close_browser(&self)

Source

pub fn on_close_browser(&self, f: impl FnMut() + 'static)

Source

pub fn get_library_hint_visible(&self) -> bool

Source

pub fn set_library_hint_visible(&self, value: bool)

Source

pub fn get_library_search_pulse(&self) -> i32

Source

pub fn set_library_search_pulse(&self, value: i32)

Source

pub fn invoke_open_browser(&self)

Source

pub fn on_open_browser(&self, f: impl FnMut() + 'static)

Source

pub fn invoke_opened(&self)

Source

pub fn on_opened(&self, f: impl FnMut() + 'static)

Source

pub fn get_progress_text(&self) -> SharedString

Source

pub fn set_progress_text(&self, value: SharedString)

Source

pub fn get_query(&self) -> SharedString

Source

pub fn set_query(&self, value: SharedString)

Source

pub fn invoke_query_changed(&self, arg_0: SharedString)

Source

pub fn on_query_changed(&self, f: impl FnMut(SharedString) + 'static)

Source

pub fn invoke_refresh(&self)

Source

pub fn on_refresh(&self, f: impl FnMut() + 'static)

Source

pub fn get_rows(&self) -> ModelRc<TutorialRowData>

Source

pub fn set_rows(&self, value: ModelRc<TutorialRowData>)

Source

pub fn invoke_show_library(&self)

Source

pub fn on_show_library(&self, f: impl FnMut() + 'static)

Source

pub fn invoke_start(&self, arg_0: SharedString)

Source

pub fn on_start(&self, f: impl FnMut(SharedString) + 'static)

Source

pub fn invoke_tour_dismiss(&self)

Source

pub fn on_tour_dismiss(&self, f: impl FnMut() + 'static)

Source

pub fn invoke_tour_start(&self)

Source

pub fn on_tour_start(&self, f: impl FnMut() + 'static)

Source

pub fn invoke_tour_templates(&self)

Source

pub fn on_tour_templates(&self, f: impl FnMut() + 'static)

Trait Implementations§

Source§

impl<'a> Global<'a, CompareWindow> for TutorialsModel<'a>

Source§

type StaticSelf = TutorialsModel<'static>

The Self type, with a 'static lifetime.
Source§

fn get(component: &'a CompareWindow) -> Self

Returns a reference to the global.
Source§

fn as_weak(&self) -> Weak<Self::StaticSelf>

Convert this Global reference into a weak reference. Read more
Source§

impl<'a> Global<'a, HelpWindow> for TutorialsModel<'a>

Source§

type StaticSelf = TutorialsModel<'static>

The Self type, with a 'static lifetime.
Source§

fn get(component: &'a HelpWindow) -> Self

Returns a reference to the global.
Source§

fn as_weak(&self) -> Weak<Self::StaticSelf>

Convert this Global reference into a weak reference. Read more
Source§

impl<'a> Global<'a, LocateWindow> for TutorialsModel<'a>

Source§

type StaticSelf = TutorialsModel<'static>

The Self type, with a 'static lifetime.
Source§

fn get(component: &'a LocateWindow) -> Self

Returns a reference to the global.
Source§

fn as_weak(&self) -> Weak<Self::StaticSelf>

Convert this Global reference into a weak reference. Read more
Source§

impl<'a> Global<'a, MainWindow> for TutorialsModel<'a>

Source§

type StaticSelf = TutorialsModel<'static>

The Self type, with a 'static lifetime.
Source§

fn get(component: &'a MainWindow) -> Self

Returns a reference to the global.
Source§

fn as_weak(&self) -> Weak<Self::StaticSelf>

Convert this Global reference into a weak reference. Read more
Source§

impl<'a> Global<'a, RigWindow> for TutorialsModel<'a>

Source§

type StaticSelf = TutorialsModel<'static>

The Self type, with a 'static lifetime.
Source§

fn get(component: &'a RigWindow) -> Self

Returns a reference to the global.
Source§

fn as_weak(&self) -> Weak<Self::StaticSelf>

Convert this Global reference into a weak reference. Read more
Source§

impl<'a> Global<'a, RoughColourWindow> for TutorialsModel<'a>

Source§

type StaticSelf = TutorialsModel<'static>

The Self type, with a 'static lifetime.
Source§

fn get(component: &'a RoughColourWindow) -> Self

Returns a reference to the global.
Source§

fn as_weak(&self) -> Weak<Self::StaticSelf>

Convert this Global reference into a weak reference. Read more
Source§

impl<'a> Global<'a, RoughPlannerWindow> for TutorialsModel<'a>

Source§

type StaticSelf = TutorialsModel<'static>

The Self type, with a 'static lifetime.
Source§

fn get(component: &'a RoughPlannerWindow) -> Self

Returns a reference to the global.
Source§

fn as_weak(&self) -> Weak<Self::StaticSelf>

Convert this Global reference into a weak reference. Read more
Source§

impl StrongHandle for TutorialsModel<'static>

Auto Trait Implementations§

§

impl<'a> !RefUnwindSafe for TutorialsModel<'a>

§

impl<'a> !Send for TutorialsModel<'a>

§

impl<'a> !Sync for TutorialsModel<'a>

§

impl<'a> !UnwindSafe for TutorialsModel<'a>

§

impl<'a> Freeze for TutorialsModel<'a>

§

impl<'a> Unpin for TutorialsModel<'a>

§

impl<'a> UnsafeUnpin for TutorialsModel<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> Downcast for T
where T: Any,

Source§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
Source§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
Source§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Any’s vtable from &Trait’s.
Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

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 more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more