pub struct ValueCheck {
pub matches: fn(TypeInfo) -> bool,
pub name: &'static str,
pub reference: bool,
}Expand description
How a Rust type is checked against a managed parameter or return type.
Fields§
§matches: fn(TypeInfo) -> bool§name: &'static str§reference: boolImplementations§
Source§impl ValueCheck
impl ValueCheck
pub fn of<T: Il2CppValue>() -> Self
Trait Implementations§
Source§impl Clone for ValueCheck
impl Clone for ValueCheck
impl Copy for ValueCheck
Auto Trait Implementations§
impl Forget for ValueCheck
impl Freeze for ValueCheck
impl Move for ValueCheck
impl RefUnwindSafe for ValueCheck
impl Send for ValueCheck
impl Sync for ValueCheck
impl Unpin for ValueCheck
impl UnsafeUnpin for ValueCheck
impl UnwindSafe for ValueCheck
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