pub enum IndexOffset {
Fixed(u64),
Node(String),
Length,
}Expand description
Stride applied to a <pIndex> value.
Variants§
Fixed(u64)
<pIndex Offset="64"> — a literal stride.
Node(String)
<pIndex pOffset="Node"> — a stride read from another node.
Length
<pIndex> with neither attribute: the stride is the register length.
Trait Implementations§
Source§impl Clone for IndexOffset
impl Clone for IndexOffset
Source§fn clone(&self) -> IndexOffset
fn clone(&self) -> IndexOffset
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 moreSource§impl Debug for IndexOffset
impl Debug for IndexOffset
Source§impl<'de> Deserialize<'de> for IndexOffset
impl<'de> Deserialize<'de> for IndexOffset
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
Source§impl PartialEq for IndexOffset
impl PartialEq for IndexOffset
Source§fn eq(&self, other: &IndexOffset) -> bool
fn eq(&self, other: &IndexOffset) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for IndexOffset
impl Serialize for IndexOffset
impl Eq for IndexOffset
impl StructuralPartialEq for IndexOffset
Auto Trait Implementations§
impl Freeze for IndexOffset
impl RefUnwindSafe for IndexOffset
impl Send for IndexOffset
impl Sync for IndexOffset
impl Unpin for IndexOffset
impl UnsafeUnpin for IndexOffset
impl UnwindSafe for IndexOffset
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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.