pub struct EditSectionLayerCaller<'a> {
pub index: usize,
/* private fields */
}Available on crate feature
generic only.Expand description
レイヤー主体で関数を呼び出すための構造体。 EditSection と レイヤー番号 の組をまとめ、対象レイヤーに対する 操作を簡潔に呼び出せるようにします。
Fields§
§index: usizeImplementations§
Source§impl<'a> EditSectionLayerCaller<'a>
impl<'a> EditSectionLayerCaller<'a>
pub fn new(edit_section: &'a EditSection, layer: usize) -> Self
Sourcepub fn find_object_after(
&self,
frame: usize,
) -> EditSectionResult<Option<ObjectHandle>>
pub fn find_object_after( &self, frame: usize, ) -> EditSectionResult<Option<ObjectHandle>>
Sourcepub fn objects(&self) -> EditSectionLayerObjectsIterator<'a> ⓘ
pub fn objects(&self) -> EditSectionLayerObjectsIterator<'a> ⓘ
このレイヤーに存在するすべてのオブジェクトを、 開始フレームの昇順で走査するイテレータを返します。
Auto Trait Implementations§
impl<'a> Freeze for EditSectionLayerCaller<'a>
impl<'a> RefUnwindSafe for EditSectionLayerCaller<'a>
impl<'a> !Send for EditSectionLayerCaller<'a>
impl<'a> !Sync for EditSectionLayerCaller<'a>
impl<'a> Unpin for EditSectionLayerCaller<'a>
impl<'a> UnwindSafe for EditSectionLayerCaller<'a>
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> 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