pub struct ContentInfoOverride {
pub extensions: String,
pub need_fullpath: bool,
pub persistent_data: bool,
}Expand description
Per-extension content override registered with the frontend.
Most cores should create these through ContentContract instead of building
overrides directly.
Fields§
§extensions: String§need_fullpath: bool§persistent_data: boolImplementations§
Trait Implementations§
Source§impl Clone for ContentInfoOverride
impl Clone for ContentInfoOverride
Source§fn clone(&self) -> ContentInfoOverride
fn clone(&self) -> ContentInfoOverride
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ContentInfoOverride
impl RefUnwindSafe for ContentInfoOverride
impl Send for ContentInfoOverride
impl Sync for ContentInfoOverride
impl Unpin for ContentInfoOverride
impl UnsafeUnpin for ContentInfoOverride
impl UnwindSafe for ContentInfoOverride
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more