pub struct ViewMeta<'a> {
pub id: &'a str,
pub name: &'a str,
pub bin: &'a str,
pub root: &'a str,
pub all_globals: bool,
pub globals: &'a [&'a str],
}Expand description
A named executable surface emitted into the portable spec.
Fields§
§id: &'a str§name: &'a str§bin: &'a str§root: &'a str§all_globals: bool§globals: &'a [&'a str]Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ViewMeta<'a>
impl<'a> RefUnwindSafe for ViewMeta<'a>
impl<'a> Send for ViewMeta<'a>
impl<'a> Sync for ViewMeta<'a>
impl<'a> Unpin for ViewMeta<'a>
impl<'a> UnsafeUnpin for ViewMeta<'a>
impl<'a> UnwindSafe for ViewMeta<'a>
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