pub trait FileOptionExtension: Default + Sealed {
// Required methods
fn extra_fields(&self) -> Option<&Arc<Vec<CustomExtraField>>>;
fn file_comment(&self) -> Option<&str>;
fn take_file_comment(&mut self) -> Option<Box<str>>;
}Expand description
File options Extensions
Required Methods§
Sourcefn extra_fields(&self) -> Option<&Arc<Vec<CustomExtraField>>>
fn extra_fields(&self) -> Option<&Arc<Vec<CustomExtraField>>>
Extra Data
Sourcefn file_comment(&self) -> Option<&str>
fn file_comment(&self) -> Option<&str>
File Comment
Sourcefn take_file_comment(&mut self) -> Option<Box<str>>
fn take_file_comment(&mut self) -> Option<Box<str>>
Take File Comment (moves ownership)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".