#[repr(C)]pub struct EdgeRemove {
pub source: TileVertexId,
pub target: TileVertexId,
pub _reserved: u32,
}Expand description
Edge removal delta
Fields§
§source: TileVertexIdSource vertex (tile-local ID)
target: TileVertexIdTarget vertex (tile-local ID)
_reserved: u32Reserved padding for alignment
Implementations§
Source§impl EdgeRemove
impl EdgeRemove
Sourcepub const fn new(source: TileVertexId, target: TileVertexId) -> Self
pub const fn new(source: TileVertexId, target: TileVertexId) -> Self
Create a new edge removal
Trait Implementations§
Source§impl Clone for EdgeRemove
impl Clone for EdgeRemove
Source§fn clone(&self) -> EdgeRemove
fn clone(&self) -> EdgeRemove
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EdgeRemove
impl Debug for EdgeRemove
Source§impl Default for EdgeRemove
impl Default for EdgeRemove
Source§fn default() -> EdgeRemove
fn default() -> EdgeRemove
Returns the “default value” for a type. Read more
impl Copy for EdgeRemove
Auto Trait Implementations§
impl Freeze for EdgeRemove
impl RefUnwindSafe for EdgeRemove
impl Send for EdgeRemove
impl Sync for EdgeRemove
impl Unpin for EdgeRemove
impl UnwindSafe for EdgeRemove
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