Skip to content
API REFERENCEUsage guides →

cellpack::opt::Residency ​

struct

Module contract · All interfaces

At a glance ​

pub struct Residency {
    pub object: Object,
    pub start: u64,
    pub end: u64,
    /* private fields */
}

One residency: an object held from its admission through its last use.

Fields and variants ​

object ​

object: Object

The object it holds.

start ​

start: u64

The admitting access.

end ​

end: u64

The last use.

Implemented traits ​

impl Clone for Residency
impl Debug for Residency

Contract reference ​

See the module reference for semantic input/output rules, units, allocation, mutation, failure behavior, and lifetime requirements. Declarations and documented members are synchronized from the crate source.

Definition