pub enum BorderPosition {
Inside,
Center,
Outside,
}Variants§
Inside
Border drawn entirely inside the shape (default — matches the
existing IntUI-style RectWidget border).
Center
Centerline of the border lies on the shape edge.
Outside
Border drawn entirely outside the shape (used for focus rings that sit in the gap outside the control).
Trait Implementations§
Source§impl Clone for BorderPosition
impl Clone for BorderPosition
Source§fn clone(&self) -> BorderPosition
fn clone(&self) -> BorderPosition
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 moreimpl Copy for BorderPosition
Source§impl Debug for BorderPosition
impl Debug for BorderPosition
Source§impl Default for BorderPosition
impl Default for BorderPosition
Source§fn default() -> BorderPosition
fn default() -> BorderPosition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BorderPosition
impl<'de> Deserialize<'de> for BorderPosition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BorderPosition
Source§impl PartialEq for BorderPosition
impl PartialEq for BorderPosition
Source§impl Serialize for BorderPosition
impl Serialize for BorderPosition
impl StructuralPartialEq for BorderPosition
Auto Trait Implementations§
impl Freeze for BorderPosition
impl RefUnwindSafe for BorderPosition
impl Send for BorderPosition
impl Sync for BorderPosition
impl Unpin for BorderPosition
impl UnsafeUnpin for BorderPosition
impl UnwindSafe for BorderPosition
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