pub trait SpanDataExt {
    // Required method
    fn size(&self) -> u32;
}
Expand description

Extension trait for SpanData.

Required Methods§

source

fn size(&self) -> u32

Returns the size (in bytes) of the spanned text.

Implementations on Foreign Types§

source§

impl SpanDataExt for SpanData

source§

fn size(&self) -> u32

Implementors§