pub struct ObjectLayerFrame {
pub layer: usize,
pub start: usize,
pub end: usize,
}Available on crate feature
generic only.Expand description
オブジェクトのレイヤーとフレーム情報。
Fields§
§layer: usize§start: usize§end: usizeImplementations§
Source§impl ObjectLayerFrame
impl ObjectLayerFrame
Sourcepub fn frame_range(&self) -> Range<usize>
pub fn frame_range(&self) -> Range<usize>
フレームの範囲をRangeで取得する。
Sourcepub fn frame_range_inclusive(&self) -> RangeInclusive<usize>
pub fn frame_range_inclusive(&self) -> RangeInclusive<usize>
フレームの範囲をRangeInclusiveで取得する。
Trait Implementations§
Source§impl Clone for ObjectLayerFrame
impl Clone for ObjectLayerFrame
Source§fn clone(&self) -> ObjectLayerFrame
fn clone(&self) -> ObjectLayerFrame
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 moreSource§impl Debug for ObjectLayerFrame
impl Debug for ObjectLayerFrame
impl Copy for ObjectLayerFrame
Auto Trait Implementations§
impl Freeze for ObjectLayerFrame
impl RefUnwindSafe for ObjectLayerFrame
impl Send for ObjectLayerFrame
impl Sync for ObjectLayerFrame
impl Unpin for ObjectLayerFrame
impl UnsafeUnpin for ObjectLayerFrame
impl UnwindSafe for ObjectLayerFrame
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more