pub enum JceValue {
}Expand description
Value type covers all types in jce
Variants§
Bool(bool)
U8(u8)
I16(i16)
I32(i32)
I64(i64)
F32(f32)
F64(f64)
String(String)
Map(HashMap<JceMapKey, JceValue>)
List(Vec<JceValue>)
Struct(JceStruct)
Empty
Bytes(Bytes)
Trait Implementations§
Source§impl JceGet for JceValue
impl JceGet for JceValue
fn jce_get<B: Buf + ?Sized>(jce: &mut Jce<'_, B>) -> JceResult<Self>
fn empty() -> JceResult<Self>
fn get_from_buf<B: Buf + ?Sized>(buf: &mut B) -> JceResult<Self>
fn get_by_tag<B: Buf + ?Sized>(jce: &mut Jce<'_, B>, tag: u8) -> JceResult<Self>
fn from_buf<B: Buf + ?Sized>(buf: &mut B) -> JceResult<Self>
fn from_boxed_buf<B: Buf + ?Sized>(buf: &mut B) -> JceResult<Self>
impl StructuralPartialEq for JceValue
Auto Trait Implementations§
impl !Freeze for JceValue
impl RefUnwindSafe for JceValue
impl Send for JceValue
impl Sync for JceValue
impl Unpin for JceValue
impl UnwindSafe for JceValue
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