pub struct Options<O, A> {
pub orientation: Orientation,
pub theme: Theme,
pub node_label: Box<dyn Fn(&O) -> String>,
pub edge_label: Box<dyn Fn(&A) -> String>,
}Fields§
§orientation: Orientation§theme: Theme§node_label: Box<dyn Fn(&O) -> String>§edge_label: Box<dyn Fn(&A) -> String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<O, A> Freeze for Options<O, A>
impl<O, A> !RefUnwindSafe for Options<O, A>
impl<O, A> !Send for Options<O, A>
impl<O, A> !Sync for Options<O, A>
impl<O, A> Unpin for Options<O, A>
impl<O, A> !UnwindSafe for Options<O, 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