pub struct GateAnchor {
pub from: [i32; 3],
pub to: [i32; 3],
pub block: String,
}Expand description
A gate anchor’s region and fill block, in piece-local coordinates — the
answer PrefabMeta::gate_anchor gives, and the only shape either reader
works from.
Fields§
§from: [i32; 3]Low corner of the region, piece-local.
to: [i32; 3]High corner of the region, piece-local, inclusive.
block: StringThe block the region is filled with and cleared of.
Trait Implementations§
Source§impl Clone for GateAnchor
impl Clone for GateAnchor
Source§impl Debug for GateAnchor
impl Debug for GateAnchor
impl Eq for GateAnchor
Source§impl PartialEq for GateAnchor
impl PartialEq for GateAnchor
impl StructuralPartialEq for GateAnchor
Auto Trait Implementations§
impl Freeze for GateAnchor
impl RefUnwindSafe for GateAnchor
impl Send for GateAnchor
impl Sync for GateAnchor
impl Unpin for GateAnchor
impl UnsafeUnpin for GateAnchor
impl UnwindSafe for GateAnchor
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