pub struct NativeCommand {
pub name: &'static str,
pub capability: &'static str,
pub kind: Capability,
pub summary: &'static str,
}Expand description
One entry in the bridge allowlist.
Fields§
§name: &'static strWhat pp.native.invoke names.
capability: &'static strThe capability string pp.native.has(...) answers for.
kind: Capability§summary: &'static strOne line, used by the generated shell’s documentation.
Trait Implementations§
Source§impl Clone for NativeCommand
impl Clone for NativeCommand
Source§fn clone(&self) -> NativeCommand
fn clone(&self) -> NativeCommand
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 moreimpl Copy for NativeCommand
Auto Trait Implementations§
impl Freeze for NativeCommand
impl RefUnwindSafe for NativeCommand
impl Send for NativeCommand
impl Sync for NativeCommand
impl Unpin for NativeCommand
impl UnsafeUnpin for NativeCommand
impl UnwindSafe for NativeCommand
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