pub struct BlockPlug {
pub x: usize,
pub y: usize,
pub quote: QuoteStyle,
}
Expand description
A plug point for a block, where it can be connected to other blocks.
Tracks the position of a plug and its associated quote style for connection.
Fields§
§x: usize
X position of the plug.
y: usize
Y position of the plug.
quote: QuoteStyle
The quoting style used at this plug.
Trait Implementations§
impl Eq for BlockPlug
impl StructuralPartialEq for BlockPlug
Auto Trait Implementations§
impl Freeze for BlockPlug
impl RefUnwindSafe for BlockPlug
impl Send for BlockPlug
impl Sync for BlockPlug
impl Unpin for BlockPlug
impl UnwindSafe for BlockPlug
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