pub enum SymbolicWidth {
Fixed(usize),
SameAs(TableId),
}Expand description
A width resolved before decoding, which may still name an operand.
Variants§
Fixed(usize)
A concrete width in bytes.
SameAs(TableId)
The width of the value a sub-table operand exports.
Trait Implementations§
Source§impl Clone for SymbolicWidth
impl Clone for SymbolicWidth
Source§fn clone(&self) -> SymbolicWidth
fn clone(&self) -> SymbolicWidth
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 SymbolicWidth
Source§impl Debug for SymbolicWidth
impl Debug for SymbolicWidth
Source§impl<'de> Deserialize<'de> for SymbolicWidth
impl<'de> Deserialize<'de> for SymbolicWidth
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 SymbolicWidth
Source§impl PartialEq for SymbolicWidth
impl PartialEq for SymbolicWidth
Source§impl Serialize for SymbolicWidth
impl Serialize for SymbolicWidth
impl StructuralPartialEq for SymbolicWidth
Auto Trait Implementations§
impl Freeze for SymbolicWidth
impl RefUnwindSafe for SymbolicWidth
impl Send for SymbolicWidth
impl Sync for SymbolicWidth
impl Unpin for SymbolicWidth
impl UnsafeUnpin for SymbolicWidth
impl UnwindSafe for SymbolicWidth
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