pub struct LateResource {
pub cfgs: Vec<Attribute>,
pub attrs: Vec<Attribute>,
pub shared: bool,
pub ty: Box<Type>,
/* private fields */
}
Expand description
A late (runtime initialized) resource
Fields§
§cfgs: Vec<Attribute>
#[cfg]
attributes like #[cfg(debug_assertions)]
attrs: Vec<Attribute>
Attributes that will apply to this resource
Whether this contains the #[shared]
attribute or not
NOTE: Always false
in single core mode
ty: Box<Type>
The type of this resource
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LateResource
impl RefUnwindSafe for LateResource
impl !Send for LateResource
impl !Sync for LateResource
impl Unpin for LateResource
impl UnwindSafe for LateResource
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