Enum oxi_types::ObjectKind
source · #[repr(C)]pub enum ObjectKind {
Nil = 0,
Boolean = 1,
Integer = 2,
Float = 3,
String = 4,
Array = 5,
Dictionary = 6,
LuaRef = 7,
Buffer = 8,
Window = 9,
TabPage = 10,
}
Expand description
Specifies the kind of a Neovim Object
.
Variants§
Nil = 0
Boolean = 1
Integer = 2
Float = 3
String = 4
Array = 5
Dictionary = 6
LuaRef = 7
Buffer = 8
Window = 9
TabPage = 10
Implementations§
Trait Implementations§
source§impl Clone for ObjectKind
impl Clone for ObjectKind
source§fn clone(&self) -> ObjectKind
fn clone(&self) -> ObjectKind
Returns a copy of the value. Read more
1.0.0 · 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 ObjectKind
impl Debug for ObjectKind
source§impl PartialEq for ObjectKind
impl PartialEq for ObjectKind
source§fn eq(&self, other: &ObjectKind) -> bool
fn eq(&self, other: &ObjectKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ObjectKind
impl Eq for ObjectKind
impl StructuralPartialEq for ObjectKind
Auto Trait Implementations§
impl RefUnwindSafe for ObjectKind
impl Send for ObjectKind
impl Sync for ObjectKind
impl Unpin for ObjectKind
impl UnwindSafe for ObjectKind
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