Enum nih_plug_vizia::ViziaTheming
source · pub enum ViziaTheming {
None,
Builtin,
Custom,
}
Expand description
Controls what level of theming to apply to the editor.
Variants§
None
Disable both nih_plug_vizia
’s and vizia’s built-in theming.
Builtin
Disable nih_plug_vizia
’s custom theming. Vizia’s included fonts are also not registered by
default. If you use the Roboto font that normally comes with Vizia or any of its emoji or
icon fonts, you need to register those using the functions in
nih_plug_vizia::vizia_assets
.
Custom
Apply nih_plug_vizia
’s custom theming. This is the default. You need to call
nih_plug_vizia::assets::register_noto_sans_light()
at the start of your app function for the font to work correctly.
Trait Implementations§
source§impl Clone for ViziaTheming
impl Clone for ViziaTheming
source§fn clone(&self) -> ViziaTheming
fn clone(&self) -> ViziaTheming
Returns a copy 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 ViziaTheming
impl Debug for ViziaTheming
source§impl Default for ViziaTheming
impl Default for ViziaTheming
source§fn default() -> ViziaTheming
fn default() -> ViziaTheming
Returns the “default value” for a type. Read more
source§impl Ord for ViziaTheming
impl Ord for ViziaTheming
source§fn cmp(&self, other: &ViziaTheming) -> Ordering
fn cmp(&self, other: &ViziaTheming) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<ViziaTheming> for ViziaTheming
impl PartialEq<ViziaTheming> for ViziaTheming
source§fn eq(&self, other: &ViziaTheming) -> bool
fn eq(&self, other: &ViziaTheming) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ViziaTheming> for ViziaTheming
impl PartialOrd<ViziaTheming> for ViziaTheming
source§fn partial_cmp(&self, other: &ViziaTheming) -> Option<Ordering>
fn partial_cmp(&self, other: &ViziaTheming) -> 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 moreimpl Copy for ViziaTheming
impl Eq for ViziaTheming
impl StructuralEq for ViziaTheming
impl StructuralPartialEq for ViziaTheming
Auto Trait Implementations§
impl RefUnwindSafe for ViziaTheming
impl Send for ViziaTheming
impl Sync for ViziaTheming
impl Unpin for ViziaTheming
impl UnwindSafe for ViziaTheming
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