Struct tuifw_screen_base::HBand
source · [−]pub struct HBand {
pub t: i16,
pub h: NonZeroI16,
}
Fields
t: i16
h: NonZeroI16
Implementations
sourceimpl HBand
impl HBand
pub fn from_t_b(t: i16, b: i16) -> Option<HBand>
pub fn from_v_range(v_range: Range1d) -> Option<HBand>
pub fn b(self) -> i16
pub fn v_range(self) -> Range1dⓘNotable traits for Range1dimpl Iterator for Range1d type Item = i16;
pub fn offset(self, d: Vector) -> HBand
pub fn relative_to(self, base: Point) -> HBand
pub fn absolute_with(self, base: Point) -> HBand
Trait Implementations
impl Copy for HBand
impl Eq for HBand
impl StructuralEq for HBand
impl StructuralPartialEq for HBand
Auto Trait Implementations
impl RefUnwindSafe for HBand
impl Send for HBand
impl Sync for HBand
impl Unpin for HBand
impl UnwindSafe for HBand
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more