pub struct DisassemblerOptions {
pub tree: bool,
pub colorized: bool,
pub recursive: bool,
}Fields§
§tree: bool§colorized: bool§recursive: boolImplementations§
Source§impl DisassemblerOptions
impl DisassemblerOptions
pub fn simple() -> DisassemblerOptions
Trait Implementations§
Source§impl DatexProxyTypes for DisassemblerOptions
impl DatexProxyTypes for DisassemblerOptions
fn datex_type(cache: &mut SharedReferencesCache) -> Type
impl DatexValueProxy for DisassemblerOptions
Source§impl DatexValueProxyDeserialize for DisassemblerOptions
impl DatexValueProxyDeserialize for DisassemblerOptions
fn try_from_value(value: Value) -> Result<Self, TryFromDatexValueError>
fn try_from_map_property( value: Result<Value, KeyNotFoundError>, ) -> Result<Self, TryFromDatexValueError>
Source§impl DatexValueProxySerialize for DisassemblerOptions
impl DatexValueProxySerialize for DisassemblerOptions
fn try_to_value(self) -> Result<Value, TryToDatexValueError>
Source§impl Debug for DisassemblerOptions
impl Debug for DisassemblerOptions
Source§impl Default for DisassemblerOptions
impl Default for DisassemblerOptions
Source§fn default() -> DisassemblerOptions
fn default() -> DisassemblerOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DisassemblerOptions
impl<'de> Deserialize<'de> for DisassemblerOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<DisassemblerOptions> for Value
impl From<DisassemblerOptions> for Value
Source§fn from(value: DisassemblerOptions) -> Self
fn from(value: DisassemblerOptions) -> Self
Converts to this type from the input type.
Source§impl Serialize for DisassemblerOptions
impl Serialize for DisassemblerOptions
Source§impl TryFrom<Value> for DisassemblerOptions
impl TryFrom<Value> for DisassemblerOptions
Source§impl TryFrom<ValueContainer> for DisassemblerOptions
impl TryFrom<ValueContainer> for DisassemblerOptions
Source§type Error = TryFromDatexValueError
type Error = TryFromDatexValueError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for DisassemblerOptions
impl RefUnwindSafe for DisassemblerOptions
impl Send for DisassemblerOptions
impl Sync for DisassemblerOptions
impl Unpin for DisassemblerOptions
impl UnsafeUnpin for DisassemblerOptions
impl UnwindSafe for DisassemblerOptions
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
impl<T> DatexValueContainerProxy for Twhere
T: DatexValueProxy,
Source§impl<T> DatexValueContainerProxyDeserialize for Twhere
T: DatexValueProxyDeserialize,
impl<T> DatexValueContainerProxyDeserialize for Twhere
T: DatexValueProxyDeserialize,
fn try_from_value_container( value: ValueContainer, ) -> Result<T, TryFromDatexValueError>
fn try_from_map_property( value: Result<ValueContainer, KeyNotFoundError>, ) -> Result<T, TryFromDatexValueError>
Source§fn try_from_bytes(
dxb: Vec<u8>,
runtime: &Runtime,
) -> Result<Self, DeserializationError>
fn try_from_bytes( dxb: Vec<u8>, runtime: &Runtime, ) -> Result<Self, DeserializationError>
Deserialize a value of type T from a byte slice containing DXB data
Source§impl<T> DatexValueContainerProxyInfallibleSerialize for Twhere
T: DatexValueProxyInfallibleSerialize,
impl<T> DatexValueContainerProxyInfallibleSerialize for Twhere
T: DatexValueProxyInfallibleSerialize,
fn to_value_container(self) -> ValueContainer
Source§impl<T> DatexValueContainerProxySerialize for Twhere
T: DatexValueProxySerialize,
impl<T> DatexValueContainerProxySerialize for Twhere
T: DatexValueProxySerialize,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T, U> TypeSubset<U> for Twhere
U: TypeSuperset<T>,
impl<T, U> TypeSubset<U> for Twhere
U: TypeSuperset<T>,
Source§fn is_subset_of(&self, other: &U) -> bool
fn is_subset_of(&self, other: &U) -> bool
Returns whether self is a subset of type