pub struct ResourcePlan {
pub images: Vec<Entry>,
pub assets: Vec<Entry>,
pub fonts: Vec<Entry>,
pub strings: Vec<StrEntry>,
pub locales: Vec<LocaleEntry>,
}Expand description
The full set of constants to emit, grouped by bucket.
Fields§
§images: Vec<Entry>§assets: Vec<Entry>§fonts: Vec<Entry>§strings: Vec<StrEntry>Localization keys → res::str::<key>(params…) functions (§18.5).
locales: Vec<LocaleEntry>The locales themselves → the res::locales catalog (§18.5), so an app registers them
with one call instead of a hand-maintained include_str! list.
Trait Implementations§
Source§impl Clone for ResourcePlan
impl Clone for ResourcePlan
Source§fn clone(&self) -> ResourcePlan
fn clone(&self) -> ResourcePlan
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 ResourcePlan
impl Debug for ResourcePlan
Source§impl Default for ResourcePlan
impl Default for ResourcePlan
Source§fn default() -> ResourcePlan
fn default() -> ResourcePlan
Returns the “default value” for a type. Read more
impl Eq for ResourcePlan
Source§impl PartialEq for ResourcePlan
impl PartialEq for ResourcePlan
impl StructuralPartialEq for ResourcePlan
Auto Trait Implementations§
impl Freeze for ResourcePlan
impl RefUnwindSafe for ResourcePlan
impl Send for ResourcePlan
impl Sync for ResourcePlan
impl Unpin for ResourcePlan
impl UnsafeUnpin for ResourcePlan
impl UnwindSafe for ResourcePlan
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