Struct nih_plug_iced::IcedState
source · pub struct IcedState { /* private fields */ }
Expand description
State for an nih_plug_iced
editor.
Implementations§
source§impl IcedState
impl IcedState
sourcepub fn from_size(width: u32, height: u32) -> Arc<IcedState>
pub fn from_size(width: u32, height: u32) -> Arc<IcedState>
Initialize the GUI’s state. This value can be passed to create_iced_editor()
. The window
size is in logical pixels, so before it is multiplied by the DPI scaling factor.
Trait Implementations§
source§impl<'de> Deserialize<'de> for IcedState
impl<'de> Deserialize<'de> for IcedState
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for IcedState
impl Send for IcedState
impl Sync for IcedState
impl Unpin for IcedState
impl UnwindSafe for IcedState
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