Skip to main content

IChapterRecordMethods

Trait IChapterRecordMethods 

Source
pub trait IChapterRecordMethods: IChapterRecord {
    // Provided methods
    fn ctor(self) { ... }
    fn get_count(self) -> i32 { ... }
    fn get_item(self, index: impl Into<i32>) -> ChapterRecord_Record { ... }
    fn find(self, cid: impl Into<Il2CppString>) -> ChapterRecord_Record { ... }
    fn find_2(self, chapter: impl Into<ChapterData>) -> ChapterRecord_Record { ... }
    fn clear(self) { ... }
    fn try_add(
        self,
        record: impl Into<ChapterRecord_Record>,
    ) -> ChapterRecord_Record { ... }
    fn try_add_2(self, cid: impl Into<Il2CppString>) -> ChapterRecord_Record { ... }
    fn try_add_3(self, chapter: impl Into<ChapterData>) -> ChapterRecord_Record { ... }
    fn serialize(self, stream: impl Into<Stream_2>) { ... }
    fn deserialize(self, stream: impl Into<Stream_2>) { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn get_count(self) -> i32

get_Count() overload

Source

fn get_item(self, index: impl Into<i32>) -> ChapterRecord_Record

get_Item(i32) overload

Source

fn find(self, cid: impl Into<Il2CppString>) -> ChapterRecord_Record

Find(::unity::Il2CppString) overload

Source

fn find_2(self, chapter: impl Into<ChapterData>) -> ChapterRecord_Record

Find(crate::app::chapterdata::ChapterData) overload

Source

fn clear(self)

Clear() overload

Source

fn try_add( self, record: impl Into<ChapterRecord_Record>, ) -> ChapterRecord_Record

TryAdd(crate::app::chapterrecord::ChapterRecord_Record) overload

Source

fn try_add_2(self, cid: impl Into<Il2CppString>) -> ChapterRecord_Record

TryAdd(::unity::Il2CppString) overload

Source

fn try_add_3(self, chapter: impl Into<ChapterData>) -> ChapterRecord_Record

TryAdd(crate::app::chapterdata::ChapterData) overload

Source

fn serialize(self, stream: impl Into<Stream_2>)

Serialize(crate::app::stream_2::Stream_2) overload

Source

fn deserialize(self, stream: impl Into<Stream_2>)

Deserialize(crate::app::stream_2::Stream_2) 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: IChapterRecord> IChapterRecordMethods for __T

Available on crate feature app-chapterrecord only.