Struct playdate_device::install::MountedDevicePath
source · pub struct MountedDevicePath { /* private fields */ }Expand description
On-device path with owned mounted device.
Implementations§
source§impl MountedDevicePath
impl MountedDevicePath
pub fn drive(&self) -> &MountedDevice
pub fn drive_mut(&mut self) -> &mut MountedDevice
sourcepub fn path_local(&self) -> &str
pub fn path_local(&self) -> &str
Local on-device path.
pub fn into_path(self) -> String
pub fn into_parts(self) -> (MountedDevice, String)
Auto Trait Implementations§
impl !Freeze for MountedDevicePath
impl !RefUnwindSafe for MountedDevicePath
impl Send for MountedDevicePath
impl Sync for MountedDevicePath
impl Unpin for MountedDevicePath
impl !UnwindSafe for MountedDevicePath
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