Struct int_vec_2d::VBand
source · pub struct VBand {
pub l: i16,
pub w: NonZeroI16,
}
Fields§
§l: i16
§w: NonZeroI16
Implementations§
source§impl VBand
impl VBand
pub fn from_l_r(l: i16, r: i16) -> Option<VBand>
pub fn from_h_range(h_range: Range1d) -> Option<VBand>
pub fn r(self) -> i16
pub fn h_range(self) -> Range1d ⓘ
pub fn offset(self, d: Vector) -> VBand
pub fn relative_to(self, base: Point) -> VBand
pub fn absolute_with(self, base: Point) -> VBand
Trait Implementations§
source§impl PartialEq for VBand
impl PartialEq for VBand
impl Copy for VBand
impl Eq for VBand
impl StructuralPartialEq for VBand
Auto Trait Implementations§
impl RefUnwindSafe for VBand
impl Send for VBand
impl Sync for VBand
impl Unpin for VBand
impl UnwindSafe for VBand
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