pub struct CreateSession<'a> { /* private fields */ }Implementations§
Source§impl CreateSession<'_>
impl CreateSession<'_>
pub fn query_new_link(&self) -> Option<(PinId, PinId)>
pub fn query_new_link_styled( &self, color: [f32; 4], thickness: f32, ) -> Option<(PinId, PinId)>
pub fn query_new_node(&self) -> Option<PinId>
pub fn query_new_node_styled( &self, color: [f32; 4], thickness: f32, ) -> Option<PinId>
pub fn accept_new_item(&self) -> bool
pub fn accept_new_item_styled(&self, color: [f32; 4], thickness: f32) -> bool
pub fn reject_new_item(&self)
pub fn reject_new_item_styled(&self, color: [f32; 4], thickness: f32)
pub fn end(self)
Trait Implementations§
Source§impl Drop for CreateSession<'_>
impl Drop for CreateSession<'_>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for CreateSession<'a>
impl<'a> !Send for CreateSession<'a>
impl<'a> !Sync for CreateSession<'a>
impl<'a> !UnwindSafe for CreateSession<'a>
impl<'a> Freeze for CreateSession<'a>
impl<'a> Unpin for CreateSession<'a>
impl<'a> UnsafeUnpin for CreateSession<'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