pub struct TutorialsModel<'a>(/* private fields */);Implementations§
Source§impl<'a> TutorialsModel<'a>
impl<'a> TutorialsModel<'a>
pub fn get_browser_open(&self) -> bool
pub fn set_browser_open(&self, value: bool)
pub fn invoke_close_browser(&self)
pub fn on_close_browser(&self, f: impl FnMut() + 'static)
pub fn get_library_hint_visible(&self) -> bool
pub fn set_library_hint_visible(&self, value: bool)
pub fn get_library_search_pulse(&self) -> i32
pub fn set_library_search_pulse(&self, value: i32)
pub fn invoke_open_browser(&self)
pub fn on_open_browser(&self, f: impl FnMut() + 'static)
pub fn invoke_opened(&self)
pub fn on_opened(&self, f: impl FnMut() + 'static)
pub fn get_progress_text(&self) -> SharedString
pub fn set_progress_text(&self, value: SharedString)
pub fn get_query(&self) -> SharedString
pub fn set_query(&self, value: SharedString)
pub fn invoke_query_changed(&self, arg_0: SharedString)
pub fn on_query_changed(&self, f: impl FnMut(SharedString) + 'static)
pub fn invoke_refresh(&self)
pub fn on_refresh(&self, f: impl FnMut() + 'static)
pub fn get_rows(&self) -> ModelRc<TutorialRowData>
pub fn set_rows(&self, value: ModelRc<TutorialRowData>)
pub fn invoke_show_library(&self)
pub fn on_show_library(&self, f: impl FnMut() + 'static)
pub fn invoke_start(&self, arg_0: SharedString)
pub fn on_start(&self, f: impl FnMut(SharedString) + 'static)
pub fn invoke_tour_dismiss(&self)
pub fn on_tour_dismiss(&self, f: impl FnMut() + 'static)
pub fn invoke_tour_start(&self)
pub fn on_tour_start(&self, f: impl FnMut() + 'static)
pub fn invoke_tour_templates(&self)
pub fn on_tour_templates(&self, f: impl FnMut() + 'static)
Trait Implementations§
Source§impl<'a> Global<'a, CompareWindow> for TutorialsModel<'a>
impl<'a> Global<'a, CompareWindow> for TutorialsModel<'a>
Source§type StaticSelf = TutorialsModel<'static>
type StaticSelf = TutorialsModel<'static>
The
Self type, with a 'static lifetime.Source§fn get(component: &'a CompareWindow) -> Self
fn get(component: &'a CompareWindow) -> Self
Returns a reference to the global.
Source§impl<'a> Global<'a, HelpWindow> for TutorialsModel<'a>
impl<'a> Global<'a, HelpWindow> for TutorialsModel<'a>
Source§type StaticSelf = TutorialsModel<'static>
type StaticSelf = TutorialsModel<'static>
The
Self type, with a 'static lifetime.Source§fn get(component: &'a HelpWindow) -> Self
fn get(component: &'a HelpWindow) -> Self
Returns a reference to the global.
Source§impl<'a> Global<'a, LocateWindow> for TutorialsModel<'a>
impl<'a> Global<'a, LocateWindow> for TutorialsModel<'a>
Source§type StaticSelf = TutorialsModel<'static>
type StaticSelf = TutorialsModel<'static>
The
Self type, with a 'static lifetime.Source§fn get(component: &'a LocateWindow) -> Self
fn get(component: &'a LocateWindow) -> Self
Returns a reference to the global.
Source§impl<'a> Global<'a, MainWindow> for TutorialsModel<'a>
impl<'a> Global<'a, MainWindow> for TutorialsModel<'a>
Source§type StaticSelf = TutorialsModel<'static>
type StaticSelf = TutorialsModel<'static>
The
Self type, with a 'static lifetime.Source§fn get(component: &'a MainWindow) -> Self
fn get(component: &'a MainWindow) -> Self
Returns a reference to the global.
Source§impl<'a> Global<'a, RigWindow> for TutorialsModel<'a>
impl<'a> Global<'a, RigWindow> for TutorialsModel<'a>
Source§type StaticSelf = TutorialsModel<'static>
type StaticSelf = TutorialsModel<'static>
The
Self type, with a 'static lifetime.Source§impl<'a> Global<'a, RoughColourWindow> for TutorialsModel<'a>
impl<'a> Global<'a, RoughColourWindow> for TutorialsModel<'a>
Source§type StaticSelf = TutorialsModel<'static>
type StaticSelf = TutorialsModel<'static>
The
Self type, with a 'static lifetime.Source§fn get(component: &'a RoughColourWindow) -> Self
fn get(component: &'a RoughColourWindow) -> Self
Returns a reference to the global.
Source§impl<'a> Global<'a, RoughPlannerWindow> for TutorialsModel<'a>
impl<'a> Global<'a, RoughPlannerWindow> for TutorialsModel<'a>
Source§type StaticSelf = TutorialsModel<'static>
type StaticSelf = TutorialsModel<'static>
The
Self type, with a 'static lifetime.Source§fn get(component: &'a RoughPlannerWindow) -> Self
fn get(component: &'a RoughPlannerWindow) -> Self
Returns a reference to the global.
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> 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
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>
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)
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)
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.impl<T> ErasedDestructor for Twhere
T: 'static,
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 more