Struct BlockRim
#[non_exhaustive]pub struct BlockRim {
pub pos: [i32; 3],
pub argb: u32,
pub width: f32,
}Expand description
A depth-tested outline of the client’s block selection shape.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.pos: [i32; 3]The block whose outline is drawn.
argb: u32The outline colour as 0xAARRGGBB.
width: f32The line width in pixels.
Implementations§
Trait Implementations§
impl Copy for BlockRim
impl StructuralPartialEq for BlockRim
Auto Trait Implementations§
impl Freeze for BlockRim
impl RefUnwindSafe for BlockRim
impl Send for BlockRim
impl Sync for BlockRim
impl Unpin for BlockRim
impl UnsafeUnpin for BlockRim
impl UnwindSafe for BlockRim
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