Skip to main content

GetSize

Trait GetSize 

Source
pub trait GetSize {
    type Size;

    // Required method
    fn get_size(&self, metadata: &Metadata) -> Self::Size;
}
Expand description

Infers size from a Metadata.

Required Associated Types§

Required Methods§

Source

fn get_size(&self, metadata: &Metadata) -> Self::Size

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl GetSize for GetApparentSize

Source§

impl GetSize for GetBlockCount

Available on Unix only.
Source§

impl GetSize for GetBlockSize

Available on Unix only.