pub struct Style(/* private fields */);
Expand description
Wrapper struct for imnodes_sys::ImNodesStyle
to implement Default
locally.
This works around Rust’s orphan rule (E0117).
Trait Implementations§
Source§impl Default for Style
Represents the visual style of the node editor.
impl Default for Style
Represents the visual style of the node editor.
You can modify the global style instance by calling EditorContext::get_style
.
To get a default style configuration (e.g., for copying or comparison),
use Style::default()
.
Auto Trait Implementations§
impl Freeze for Style
impl RefUnwindSafe for Style
impl Send for Style
impl Sync for Style
impl Unpin for Style
impl UnwindSafe for Style
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