pub trait BlobId {
// Required methods
fn blob_id(&self) -> &BlobId;
fn blob_id_mut(&mut self) -> &mut BlobId;
fn blob_id_offset_static() -> usize;
// Provided method
fn blob_id_offset(&self) -> usize { ... }
}
Required Methods§
fn blob_id(&self) -> &BlobId
fn blob_id_mut(&mut self) -> &mut BlobId
fn blob_id_offset_static() -> usize
Provided Methods§
fn blob_id_offset(&self) -> usize
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.