Struct hotg_rune_syntax::hir::Resource [−][src]
pub struct Resource {
pub source: Option<ResourceSource>,
pub ty: ResourceType,
}
Fields
source: Option<ResourceSource>
ty: ResourceType
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Resource
impl UnwindSafe for Resource
Blanket Implementations
Mutably borrows from an owned value. Read more