[−][src]Enum byml::NodeType
An enumeration of valid BYML node types
Variants
Note: the main Byml
enum does not include a corresponding representation for
NodeType::StringTable
, as string table nodes are only used internally for binary
(de)serialization.
Trait Implementations
impl BinRead for NodeType
[src]
type Args = ()
The type of arguments needed to be supplied in order to read this type, usually a tuple. Read more
fn read_options<R: Read + Seek>(
__binread_generated_var_reader: &mut R,
__binread_generated_var_options: &ReadOptions,
__binread_generated_var_arguments: Self::Args
) -> BinResult<Self>
[src]
__binread_generated_var_reader: &mut R,
__binread_generated_var_options: &ReadOptions,
__binread_generated_var_arguments: Self::Args
) -> BinResult<Self>
fn after_parse<R: Read + Seek>(
&mut self,
__binread_generated_var_reader: &mut R,
__binread_generated_var_options: &ReadOptions,
__binread_generated_var_arguments: Self::Args
) -> BinResult<()>
[src]
&mut self,
__binread_generated_var_reader: &mut R,
__binread_generated_var_options: &ReadOptions,
__binread_generated_var_arguments: Self::Args
) -> BinResult<()>
fn read<R>(reader: &mut R) -> Result<Self, Error> where
R: Read + Seek,
[src]
R: Read + Seek,
fn read_args<R>(reader: &mut R, args: Self::Args) -> Result<Self, Error> where
R: Read + Seek,
[src]
R: Read + Seek,
fn args_default() -> Option<Self::Args>
[src]
impl BinWrite for NodeType
[src]
fn write_options<W: Write>(
self: &NodeType,
writer: &mut W,
_options: &WriterOption
) -> Result<(), Error>
[src]
self: &NodeType,
writer: &mut W,
_options: &WriterOption
) -> Result<(), Error>
fn write<W>(&self, writer: &mut W) -> Result<(), Error> where
W: Write,
[src]
W: Write,
impl Debug for NodeType
[src]
impl From<u8> for NodeType
[src]
impl<'_> Into<u8> for &'_ NodeType
[src]
impl PartialEq<NodeType> for NodeType
[src]
impl StructuralPartialEq for NodeType
[src]
Auto Trait Implementations
impl RefUnwindSafe for NodeType
impl Send for NodeType
impl Sync for NodeType
impl Unpin for NodeType
impl UnwindSafe for NodeType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,