aligned_buffer/
cap.rs

1#[repr(transparent)]
2#[derive(Debug, Clone, Copy)]
3pub struct Cap(pub(crate) crate::raw::TaggedCap);
4
5impl Cap {
6	/// Gets the size of the capacity.
7	pub const fn size(&self) -> usize {
8		self.0.value()
9	}
10}