Skip to main content

IConvertRefreshMethods

Trait IConvertRefreshMethods 

Source
pub trait IConvertRefreshMethods: IConvertRefresh {
    // Provided methods
    fn ctor(self, data: impl Into<CameraDataSet>) { ... }
    fn convert(
        self,
        situation: impl Into<CameraSituation>,
        arg: impl Into<Il2CppString>,
    ) -> CameraPosition { ... }
    fn is_framing_player(self) -> bool { ... }
    fn is_framing_both(self) -> bool { ... }
}

Provided Methods§

Source

fn ctor(self, data: impl Into<CameraDataSet>)

.ctor(crate::combat::situation_converter::cameradataset::CameraDataSet) overload

Source

fn convert( self, situation: impl Into<CameraSituation>, arg: impl Into<Il2CppString>, ) -> CameraPosition

Convert(crate::combat::camerasituation::CameraSituation, ::unity::Il2CppString) overload

Source

fn is_framing_player(self) -> bool

IsFramingPlayer() overload

Source

fn is_framing_both(self) -> bool

IsFramingBoth() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IConvertRefresh> IConvertRefreshMethods for __T

Available on crate feature combat-situation_converter-convertrefresh only.