pub struct Resource {
pub docs: Docs,
pub name: String,
pub supertype: Option<String>,
pub foreign_module: Option<String>,
}
Fields§
§docs: Docs
§name: String
§supertype: Option<String>
§foreign_module: Option<String>
None
if this resource is defined within the containing instance,
otherwise Some
if it’s defined in an instance named here.
Trait Implementations§
impl StructuralPartialEq for Resource
Auto Trait Implementations§
impl Freeze for Resource
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