#[repr(C, packed(2))]pub struct LSLaunchURLSpec {
pub appURL: CFURLRef,
pub itemURLs: CFArrayRef,
pub passThruParams: *const AEDesc,
pub launchFlags: LSLaunchFlags,
pub asyncRefCon: *mut c_void,
}
Fields§
§appURL: CFURLRef
A Core Foundation URL reference designating the application to launch. The URL must have scheme file and contain a valid path to an application file or application bundle. Set this field to NULL to request that each item in the itemURLs array be opened in its own preferred application.
itemURLs: CFArrayRef
items to open/print
passThruParams: *const AEDesc
passed untouched to application as optional parameter
launchFlags: LSLaunchFlags
§asyncRefCon: *mut c_void
used if you register for app birth/death notification
Auto Trait Implementations§
impl Freeze for LSLaunchURLSpec
impl RefUnwindSafe for LSLaunchURLSpec
impl !Send for LSLaunchURLSpec
impl !Sync for LSLaunchURLSpec
impl Unpin for LSLaunchURLSpec
impl UnwindSafe for LSLaunchURLSpec
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