pub struct PlatformView {
pub platform: Platform,
pub paths: ConfigPaths,
}Expand description
A platform together with the ConfigPaths view scoped to it.
Callers use view.paths wherever a platform-specific ConfigPaths is
needed, and view.platform for display or comparisons.
Fields§
§platform: Platform§paths: ConfigPathsAuto Trait Implementations§
impl Freeze for PlatformView
impl RefUnwindSafe for PlatformView
impl Send for PlatformView
impl Sync for PlatformView
impl Unpin for PlatformView
impl UnsafeUnpin for PlatformView
impl UnwindSafe for PlatformView
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