Type Alias StringRef

Source
pub type StringRef<Marker> = NewtypeRef<Marker, String>;

Aliased Type§

struct StringRef<Marker> { /* private fields */ }

Implementations§

Source§

impl<Marker> StringRef<Marker>

Source

pub fn len(&self) -> usize

Returns the length of this buffer.

Source

pub fn is_empty(&self) -> bool

Returns true if this buffer is empty.