Ref in binaryninja::rc - Rust

pub struct Ref<T: RefCountable> { /* private fields */ }
Source§
Source
Source

Calling this will set the global logger to self.

NOTE: There is no guarantee that logs will be sent to BinaryNinja as another log sink may have already been initialized beforehand.

Source

Send a log to the logger instance, if you instead want to use the log crate and its facilities, you should use Ref<Logger>::init to initialize the log compatible logger.

Source§

Source

Source§

Source

Source§
Source§
Source§
Source§
Source§

🔬This is a nightly-only experimental API. (clone_to_uninit #126799)

Performs copy-assignment from self to dest. Read more

Source§
Source§

Returns the argument unchanged.

Source§
Source§

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§
§
§

The alignment of pointer.

§

The type for initializers.

§

Initializes a with the given initializer. Read more

§

Dereferences the given pointer. Read more

§

Mutably dereferences the given pointer. Read more

§

Drops the object pointed to by the given pointer. Read more

Source§
Source§

🔬This is a nightly-only experimental API. (arbitrary_self_types #44874)

The target type on which the method may be called.

Source§
Source§

The resulting type after obtaining ownership.

Source§

Creates owned data from borrowed data, usually by cloning. Read more

Source§

Uses borrowed data to replace owned data, usually by cloning. Read more

Source§
Source§
Source§

The type returned in the event of a conversion error.

Source§

Performs the conversion.

Source§
Source§

The type returned in the event of a conversion error.

Source§

Performs the conversion.