[−][src]Struct v_frame::plane::PlaneSlice
Fields
plane: &'a Plane<T>
x: isize
y: isize
Methods
impl<'a, T: Pixel> PlaneSlice<'a, T>
[src]
pub fn as_ptr(&self) -> *const T
[src]
ⓘImportant traits for RowsIter<'a, T>pub fn rows_iter(&self) -> RowsIter<T>
[src]
ⓘImportant traits for RowsIter<'a, T>
pub fn clamp(&self) -> PlaneSlice<'a, T>
[src]
pub fn subslice(&self, xo: usize, yo: usize) -> PlaneSlice<'a, T>
[src]
pub fn reslice(&self, xo: isize, yo: isize) -> PlaneSlice<'a, T>
[src]
pub fn go_up(&self, i: usize) -> PlaneSlice<'a, T>
[src]
A slice starting i pixels above the current one.
pub fn go_left(&self, i: usize) -> PlaneSlice<'a, T>
[src]
A slice starting i pixels to the left of the current one.
pub fn p(&self, add_x: usize, add_y: usize) -> T
[src]
Trait Implementations
impl<'a, T: Clone + Pixel> Clone for PlaneSlice<'a, T>
[src]
fn clone(&self) -> PlaneSlice<'a, T>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a, T: Copy + Pixel> Copy for PlaneSlice<'a, T>
[src]
impl<'a, T: Debug + Pixel> Debug for PlaneSlice<'a, T>
[src]
impl<'a, T: Pixel> Index<usize> for PlaneSlice<'a, T>
[src]
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for PlaneSlice<'a, T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T> Send for PlaneSlice<'a, T>
impl<'a, T> Sync for PlaneSlice<'a, T>
impl<'a, T> Unpin for PlaneSlice<'a, T>
impl<'a, T> UnwindSafe for PlaneSlice<'a, T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,