pub struct StaticSite {
pub kind: StaticKind,
pub operand: usize,
pub end: usize,
}Expand description
Where a static-operand instruction’s operand sits: buf[operand..end]
holds the DefinitionId (or the linked layer’s replacement for it), and
end is the offset of the next instruction.
Fields§
§kind: StaticKind§operand: usize§end: usizeTrait Implementations§
Source§impl Clone for StaticSite
impl Clone for StaticSite
Source§fn clone(&self) -> StaticSite
fn clone(&self) -> StaticSite
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 StaticSite
Source§impl Debug for StaticSite
impl Debug for StaticSite
impl Eq for StaticSite
Source§impl PartialEq for StaticSite
impl PartialEq for StaticSite
impl StructuralPartialEq for StaticSite
Auto Trait Implementations§
impl Freeze for StaticSite
impl RefUnwindSafe for StaticSite
impl Send for StaticSite
impl Sync for StaticSite
impl Unpin for StaticSite
impl UnsafeUnpin for StaticSite
impl UnwindSafe for StaticSite
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