Struct BuildCreativeModeTabContentsEvent
pub struct BuildCreativeModeTabContentsEvent<'a> {
pub tab: &'a str,
pub has_permissions: bool,
pub items: &'a mut Vec<ItemStack>,
}Expand description
What Hooks::build_creative_mode_tab_contents is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§tab: &'a str§has_permissions: bool§items: &'a mut Vec<ItemStack>Auto Trait Implementations§
impl<'a> !UnwindSafe for BuildCreativeModeTabContentsEvent<'a>
impl<'a> Freeze for BuildCreativeModeTabContentsEvent<'a>
impl<'a> RefUnwindSafe for BuildCreativeModeTabContentsEvent<'a>
impl<'a> Send for BuildCreativeModeTabContentsEvent<'a>
impl<'a> Sync for BuildCreativeModeTabContentsEvent<'a>
impl<'a> Unpin for BuildCreativeModeTabContentsEvent<'a>
impl<'a> UnsafeUnpin for BuildCreativeModeTabContentsEvent<'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