pub struct FieldArrayHandle {
pub add_item: Callback<()>,
pub remove_item: Callback<usize>,
pub move_item: Callback<(usize, usize)>,
pub clear_array: Callback<()>,
}Expand description
Handle for field array operations
Fieldsยง
ยงadd_item: Callback<()>ยงremove_item: Callback<usize>ยงmove_item: Callback<(usize, usize)>ยงclear_array: Callback<()>Trait Implementationsยง
Sourceยงimpl Clone for FieldArrayHandle
impl Clone for FieldArrayHandle
Sourceยงfn clone(&self) -> FieldArrayHandle
fn clone(&self) -> FieldArrayHandle
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 moreAuto Trait Implementationsยง
impl Freeze for FieldArrayHandle
impl RefUnwindSafe for FieldArrayHandle
impl Send for FieldArrayHandle
impl Sync for FieldArrayHandle
impl Unpin for FieldArrayHandle
impl UnsafeUnpin for FieldArrayHandle
impl UnwindSafe for FieldArrayHandle
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,
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 moreSourceยงimpl<T> SerializableKey for T
impl<T> SerializableKey for T
Sourceยงimpl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Sourceยงfn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Sourceยงfn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.