Enum xmp_toolkit::ItemPlacement
source · Expand description
Describes how a new item should be placed relative to existing items in an array.
IMPORTANT: Indices in XMP are 1-based, unlike Rust where indices are typically 0-based.
Use with XmpMeta::set_array_item
.
Variants
InsertBeforeIndex(u32)
Insert before the item at the specified index.
InsertAfterIndex(u32)
Insert after the item at the specified index.
ReplaceItemAtIndex(u32)
Replace the item currently at the specified index.
Auto Trait Implementations
impl RefUnwindSafe for ItemPlacement
impl Send for ItemPlacement
impl Sync for ItemPlacement
impl Unpin for ItemPlacement
impl UnwindSafe for ItemPlacement
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more