This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

core / bobbin / crates / runtime / src / mem.rs
250 B 12 lines
1#[derive(Clone, Copy, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)] 2pub struct MemoryBudget(u64); 3 4impl MemoryBudget { 5 pub const fn new(bytes: u64) -> Self { 6 Self(bytes) 7 } 8 9 pub const fn bytes(self) -> u64 { 10 self.0 11 } 12}