pub struct TemporalPipeRef {
pub src: IVec3,
pub dst: IVec3,
pub hadamard: bool,
}Expand description
A reference to one source temporal pipe.
Its endpoint lattice positions identify the pipe, with hadamard marking
a basis-swapping (H) pipe. A spatial output Port’s virtual
cube-to-temporal-port seam uses its shared source address for both endpoints.
Fields§
§src: IVec3Source endpoint.
dst: IVec3Destination endpoint.
hadamard: boolWhether the pipe swaps X and Z bases.
Implementations§
Source§impl TemporalPipeRef
impl TemporalPipeRef
Sourcepub fn endpoints_by_z(&self) -> (IVec3, IVec3)
pub fn endpoints_by_z(&self) -> (IVec3, IVec3)
The pipe’s endpoints ordered by time layer: (lower, upper).
Trait Implementations§
Source§impl Clone for TemporalPipeRef
impl Clone for TemporalPipeRef
Source§fn clone(&self) -> TemporalPipeRef
fn clone(&self) -> TemporalPipeRef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TemporalPipeRef
Source§impl Debug for TemporalPipeRef
impl Debug for TemporalPipeRef
Source§impl<'de> Deserialize<'de> for TemporalPipeRef
impl<'de> Deserialize<'de> for TemporalPipeRef
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TemporalPipeRef
Source§impl Hash for TemporalPipeRef
impl Hash for TemporalPipeRef
Source§impl PartialEq for TemporalPipeRef
impl PartialEq for TemporalPipeRef
Source§impl Serialize for TemporalPipeRef
impl Serialize for TemporalPipeRef
impl StructuralPartialEq for TemporalPipeRef
Auto Trait Implementations§
impl Freeze for TemporalPipeRef
impl RefUnwindSafe for TemporalPipeRef
impl Send for TemporalPipeRef
impl Sync for TemporalPipeRef
impl Unpin for TemporalPipeRef
impl UnsafeUnpin for TemporalPipeRef
impl UnwindSafe for TemporalPipeRef
Blanket Implementations§
§impl<T, BorrowedSelf> BitwiseMutViaBorrow<BorrowedSelf> for T
impl<T, BorrowedSelf> BitwiseMutViaBorrow<BorrowedSelf> for T
fn assign_index(&mut self, index: usize, to: bool)
fn negate_index(&mut self, index: usize)
fn clear_bits(&mut self)
fn assign_random(
&mut self,
bit_count: usize,
random_number_generator: &mut impl RngExt,
)where
BorrowedSelf: BitLength,
§impl<Bits, Other, BorrowedSelf, BorrowedOther> BitwisePairMutViaBorrow<Other, BorrowedSelf, BorrowedOther> for Bits
impl<Bits, Other, BorrowedSelf, BorrowedOther> BitwisePairMutViaBorrow<Other, BorrowedSelf, BorrowedOther> for Bits
fn assign(&mut self, other: &Other)
fn bitxor_assign(&mut self, other: &Other)
fn bitand_assign(&mut self, other: &Other)
fn bitor_assign(&mut self, other: &Other)
§impl<T, Other, BorrowedSelf, BorrowedOther> BitwisePairViaBorrow<Other, BorrowedSelf, BorrowedOther> for T
impl<T, Other, BorrowedSelf, BorrowedOther> BitwisePairViaBorrow<Other, BorrowedSelf, BorrowedOther> for T
§impl<T, BorrowedSelf> BitwiseViaBorrow<BorrowedSelf> for T
impl<T, BorrowedSelf> BitwiseViaBorrow<BorrowedSelf> for T
fn index(&self, index: usize) -> bool
fn weight(&self) -> usize
fn parity(&self) -> bool
fn is_zero(&self) -> bool
fn is_unit(&self, index: usize) -> bool
fn support<'a>(&'a self) -> impl SortedIteratorwhere
BorrowedSelf: 'a,
fn max_support(&self) -> Option<usize>
fn min_support(&self) -> Option<usize>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.