Struct fluent_localization_loader::Resource
source · pub struct Resource {
pub name: String,
pub resource: Arc<FluentResource>,
}
Expand description
Basic wrapper to hold a resource and its original filename
Fields§
§name: String
§resource: Arc<FluentResource>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Resource
impl Send for Resource
impl Sync for Resource
impl Unpin for Resource
impl UnwindSafe for Resource
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