pub struct Resource<'tree> {
pub span: Span,
pub dimensions: Option<Dimensions<'tree>>,
pub name: Option<ResourceName<'tree>>,
pub type: Option<UnannotatedType<'tree>>,
pub value: Option<Expression<'tree>>,
pub children: Option<ResourceChildren<'tree>>,
}Fields§
§span: Span§dimensions: Option<Dimensions<'tree>>§name: Option<ResourceName<'tree>>§type: Option<UnannotatedType<'tree>>§value: Option<Expression<'tree>>§children: Option<ResourceChildren<'tree>>Trait Implementations§
Auto Trait Implementations§
impl<'tree> Freeze for Resource<'tree>
impl<'tree> RefUnwindSafe for Resource<'tree>
impl<'tree> Send for Resource<'tree>
impl<'tree> Sync for Resource<'tree>
impl<'tree> Unpin for Resource<'tree>
impl<'tree> UnsafeUnpin for Resource<'tree>
impl<'tree> UnwindSafe for Resource<'tree>
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