pub struct LuaControlSetGuiArrowParams {
pub margin: u32,
pub type: GuiArrowType,
}Expand description
Create an arrow which points at this entity. This is used in the tutorial. For examples, see control.lua in the campaign missions.
Fields§
§margin: u32§type: GuiArrowTypeWhere to point to. This field determines what other fields are mandatory.
Trait Implementations§
Source§impl Clone for LuaControlSetGuiArrowParams
impl Clone for LuaControlSetGuiArrowParams
Source§fn clone(&self) -> LuaControlSetGuiArrowParams
fn clone(&self) -> LuaControlSetGuiArrowParams
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 moreSource§impl Debug for LuaControlSetGuiArrowParams
impl Debug for LuaControlSetGuiArrowParams
Source§impl Default for LuaControlSetGuiArrowParams
impl Default for LuaControlSetGuiArrowParams
Source§fn default() -> LuaControlSetGuiArrowParams
fn default() -> LuaControlSetGuiArrowParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LuaControlSetGuiArrowParams
impl RefUnwindSafe for LuaControlSetGuiArrowParams
impl Send for LuaControlSetGuiArrowParams
impl Sync for LuaControlSetGuiArrowParams
impl Unpin for LuaControlSetGuiArrowParams
impl UnsafeUnpin for LuaControlSetGuiArrowParams
impl UnwindSafe for LuaControlSetGuiArrowParams
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