pub struct PresentExtensions { /* private fields */ }Expand description
The Present extensions parsed from a file containing them.
Implementations§
source§impl PresentExtensions
 
impl PresentExtensions
sourcepub fn new(data: Bytes) -> Option<Self>
 
pub fn new(data: Bytes) -> Option<Self>
Parses a file to create a representation of the Present extensions in it.
data should start with PRESENT_INTERNAL_PREFIX, as all present extension files should.
sourcepub fn iter_clone(&self) -> PresentExtensionsIter ⓘ
 
pub fn iter_clone(&self) -> PresentExtensionsIter ⓘ
Gets an iterator of self.
Clones the inner data.