pub struct ViewOptions { /* private fields */ }
Expand description
Configures visualization view options.
Implementations§
Source§impl ViewOptions
impl ViewOptions
Sourcepub fn with_source_id(self, id: String) -> Self
pub fn with_source_id(self, id: String) -> Self
Sets a source id.
Sourcepub fn with_title(self, title: String) -> Self
pub fn with_title(self, title: String) -> Self
Sets the title of the visualizer window.
Trait Implementations§
Source§impl Default for ViewOptions
impl Default for ViewOptions
Source§fn default() -> ViewOptions
fn default() -> ViewOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ViewOptions
impl RefUnwindSafe for ViewOptions
impl Send for ViewOptions
impl Sync for ViewOptions
impl Unpin for ViewOptions
impl UnwindSafe for ViewOptions
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