Enum GuiLayerPlacement
pub enum GuiLayerPlacement {
BelowAll,
Below(String),
Above(String),
AboveAll,
}Expand description
Where a mod’s HUD layer goes, the four orderings of RegisterGuiLayersEvent.
Variants§
BelowAll
Below every other layer, the crosshair included (registerBelowAll).
Below(String)
Right below the layer with this id (registerBelow): a vanilla layer, like
minecraft:hotbar, or one pushed before this one.
Above(String)
Right above the layer with this id (registerAbove), with the same rule.
AboveAll
Above every other layer, the tab list included (registerAboveAll).
Trait Implementations§
§impl Clone for GuiLayerPlacement
impl Clone for GuiLayerPlacement
§fn clone(&self) -> GuiLayerPlacement
fn clone(&self) -> GuiLayerPlacement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for GuiLayerPlacement
impl Debug for GuiLayerPlacement
impl Eq for GuiLayerPlacement
§impl PartialEq for GuiLayerPlacement
impl PartialEq for GuiLayerPlacement
impl StructuralPartialEq for GuiLayerPlacement
Auto Trait Implementations§
impl Freeze for GuiLayerPlacement
impl RefUnwindSafe for GuiLayerPlacement
impl Send for GuiLayerPlacement
impl Sync for GuiLayerPlacement
impl Unpin for GuiLayerPlacement
impl UnsafeUnpin for GuiLayerPlacement
impl UnwindSafe for GuiLayerPlacement
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