pub struct PlatformInfo {
pub platform: Platform,
pub warp_config_dir: Option<PathBuf>,
pub supports_uri_scheme: bool,
}Expand description
Platform-specific information for app integrations
Fields§
§platform: Platform§warp_config_dir: Option<PathBuf>§supports_uri_scheme: boolImplementations§
Source§impl PlatformInfo
impl PlatformInfo
Sourcepub fn get_warp_shortcuts(&self) -> WarpShortcuts
pub fn get_warp_shortcuts(&self) -> WarpShortcuts
Get platform-specific keyboard shortcuts for Warp
Trait Implementations§
Source§impl Clone for PlatformInfo
impl Clone for PlatformInfo
Source§fn clone(&self) -> PlatformInfo
fn clone(&self) -> PlatformInfo
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 PlatformInfo
impl RefUnwindSafe for PlatformInfo
impl Send for PlatformInfo
impl Sync for PlatformInfo
impl Unpin for PlatformInfo
impl UnsafeUnpin for PlatformInfo
impl UnwindSafe for PlatformInfo
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