pub struct AppManifest {
pub name: String,
pub version: String,
pub display_name: String,
pub description: String,
pub entry: String,
pub permissions: Vec<String>,
pub width: Option<u32>,
pub height: Option<u32>,
}Expand description
アプリケーションのメタデータ情報を保持する構造体。
manifest.json から読み込まれ、ウィンドウの初期設定や権限管理に利用されます。
Fields§
§name: String§version: String§display_name: String§description: String§entry: String§permissions: Vec<String>§width: Option<u32>通常表示(“normal”)状態で起動する際の初期ウィンドウ幅
height: Option<u32>通常表示(“normal”)状態で起動する際の初期ウィンドウ高さ
Implementations§
Trait Implementations§
Source§impl Clone for AppManifest
impl Clone for AppManifest
Source§fn clone(&self) -> AppManifest
fn clone(&self) -> AppManifest
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 moreSource§impl Debug for AppManifest
impl Debug for AppManifest
Auto Trait Implementations§
impl Freeze for AppManifest
impl RefUnwindSafe for AppManifest
impl Send for AppManifest
impl Sync for AppManifest
impl Unpin for AppManifest
impl UnsafeUnpin for AppManifest
impl UnwindSafe for AppManifest
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