pub enum RustMapForm {
Entries,
BTreeMap,
}Expand description
How the Rust column holds an IDL map.
XTypes 1.3 §7.5.1.3.6: “In all languages for which no language-specific mapping is
specified, the language binding for map types shall be based on the equivalent IDL definition
given in 7.4.1.1.4”, the sequence of MapEntry structures; that is the default.
RustMapForm::BTreeMap is the idiomatic container and a named option: it has the
operations of a map and loses the order the entries were put in, which is ascending by key.
Variants§
Trait Implementations§
Source§impl Clone for RustMapForm
impl Clone for RustMapForm
impl Copy for RustMapForm
Source§impl Debug for RustMapForm
impl Debug for RustMapForm
Source§impl Default for RustMapForm
impl Default for RustMapForm
impl Eq for RustMapForm
Source§impl PartialEq for RustMapForm
impl PartialEq for RustMapForm
impl StructuralPartialEq for RustMapForm
Auto Trait Implementations§
impl Freeze for RustMapForm
impl RefUnwindSafe for RustMapForm
impl Send for RustMapForm
impl Sync for RustMapForm
impl Unpin for RustMapForm
impl UnsafeUnpin for RustMapForm
impl UnwindSafe for RustMapForm
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