pub struct NodeBuilder<T> { /* private fields */ }Expand description
Builder for fluent node construction
Implementations§
Source§impl<T: Default + Clone> NodeBuilder<T>
impl<T: Default + Clone> NodeBuilder<T>
Source§impl<T: Clone> NodeBuilder<T>
impl<T: Clone> NodeBuilder<T>
Sourcepub fn selectable(self, selectable: bool) -> Self
pub fn selectable(self, selectable: bool) -> Self
Set selectable flag
Sourcepub fn connectable(self, connectable: bool) -> Self
pub fn connectable(self, connectable: bool) -> Self
Set connectable flag
Sourcepub fn drag_handle(self, handle: impl Into<String>) -> Self
pub fn drag_handle(self, handle: impl Into<String>) -> Self
Set drag handle
Set hidden flag
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for NodeBuilder<T>where
T: Freeze,
impl<T> RefUnwindSafe for NodeBuilder<T>where
T: RefUnwindSafe,
impl<T> Send for NodeBuilder<T>where
T: Send,
impl<T> Sync for NodeBuilder<T>where
T: Sync,
impl<T> Unpin for NodeBuilder<T>where
T: Unpin,
impl<T> UnwindSafe for NodeBuilder<T>where
T: UnwindSafe,
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