Struct binaryninja::types::Conf
[−]pub struct Conf<T> {
pub contents: T,
pub confidence: u8,
}
Fields
contents: T
confidence: u8
Implementations
Trait Implementations
impl<T> ConfMergable<T, Conf<T>> for Conf<T>
impl<T> ConfMergable<T, Conf<T>> for Conf<T>
Returns best value or LHS on tie
Conf<T>
+ Conf<T>
→ Conf<T>
impl<T> ConfMergable<T, Conf<T>> for Option<Conf<T>>
impl<T> ConfMergable<T, Conf<T>> for Option<Conf<T>>
Returns RHS if LHS is None
Option<Conf<T>>
+ Conf<T>
→ Conf<T>
impl<T> ConfMergable<T, Option<Conf<T>>> for Conf<T>
impl<T> ConfMergable<T, Option<Conf<T>>> for Conf<T>
Returns LHS if RHS is None
Conf<T>
+ Option<Conf<T>>
→ Conf<T>
impl From<BNBoolWithConfidence> for Conf<bool>
impl From<BNBoolWithConfidence> for Conf<bool>
fn from(bool_with_confidence: BNBoolWithConfidence) -> Self
fn from(bool_with_confidence: BNBoolWithConfidence) -> Self
Converts to this type from the input type.
impl From<BNCallingConventionWithConfidence> for Conf<Ref<CallingConvention<CoreArchitecture>>>
impl From<BNCallingConventionWithConfidence> for Conf<Ref<CallingConvention<CoreArchitecture>>>
fn from(cc_with_confidence: BNCallingConventionWithConfidence) -> Self
fn from(cc_with_confidence: BNCallingConventionWithConfidence) -> Self
Converts to this type from the input type.
impl From<BNOffsetWithConfidence> for Conf<i64>
impl From<BNOffsetWithConfidence> for Conf<i64>
fn from(offset_with_confidence: BNOffsetWithConfidence) -> Self
fn from(offset_with_confidence: BNOffsetWithConfidence) -> Self
Converts to this type from the input type.
impl From<BNTypeWithConfidence> for Conf<Ref<Type>>
impl From<BNTypeWithConfidence> for Conf<Ref<Type>>
fn from(type_with_confidence: BNTypeWithConfidence) -> Self
fn from(type_with_confidence: BNTypeWithConfidence) -> Self
Converts to this type from the input type.
impl<A: Architecture> From<Conf<&CallingConvention<A>>> for BNCallingConventionWithConfidence
impl<A: Architecture> From<Conf<&CallingConvention<A>>> for BNCallingConventionWithConfidence
fn from(conf: Conf<&CallingConvention<A>>) -> Self
fn from(conf: Conf<&CallingConvention<A>>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl<T> RefUnwindSafe for Conf<T>where
T: RefUnwindSafe,
impl<T> Send for Conf<T>where
T: Send,
impl<T> Sync for Conf<T>where
T: Sync,
impl<T> Unpin for Conf<T>where
T: Unpin,
impl<T> UnwindSafe for Conf<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more