pub struct Borders(/* private fields */);Implementations§
Source§impl Borders
impl Borders
pub const NONE: Self
pub const TOP: Self
pub const RIGHT: Self
pub const BOTTOM: Self
pub const LEFT: Self
pub const ALL: Self
pub const fn contains(self, other: Self) -> bool
pub const fn intersects(self, other: Self) -> bool
pub const fn is_empty(self) -> bool
Trait Implementations§
Source§impl BitOrAssign for Borders
impl BitOrAssign for Borders
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreimpl Copy for Borders
impl Eq for Borders
impl StructuralPartialEq for Borders
Auto Trait Implementations§
impl Freeze for Borders
impl RefUnwindSafe for Borders
impl Send for Borders
impl Sync for Borders
impl Unpin for Borders
impl UnsafeUnpin for Borders
impl UnwindSafe for Borders
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