Skip to main content

IProfileListMethods

Trait IProfileListMethods 

Source
pub trait IProfileListMethods: IProfileList {
    // Provided methods
    fn try_get(self, index: impl Into<i32>) -> ProfileCard { ... }
    fn serialize(self, stream: impl Into<Stream_2>) { ... }
    fn deserialize(self, stream: impl Into<Stream_2>) { ... }
    fn try_get_2(self, owner_id: impl Into<u64>) -> (bool, ProfileCard) { ... }
    fn try_add(self, card: impl Into<ProfileCard>) -> bool { ... }
    fn force_add(self, card: impl Into<ProfileCard>) -> bool { ... }
    fn is_full(self) -> bool { ... }
    fn is_over(self) -> bool { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn try_get(self, index: impl Into<i32>) -> ProfileCard

TryGet(i32) 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

Source

fn try_get_2(self, owner_id: impl Into<u64>) -> (bool, ProfileCard)

TryGet(u64, *mutcrate::app::profilecard::ProfileCard) overload

Source

fn try_add(self, card: impl Into<ProfileCard>) -> bool

TryAdd(crate::app::profilecard::ProfileCard) overload

Source

fn force_add(self, card: impl Into<ProfileCard>) -> bool

ForceAdd(crate::app::profilecard::ProfileCard) overload

Source

fn is_full(self) -> bool

IsFull() overload

Source

fn is_over(self) -> bool

IsOver() overload

Source

fn ctor(self)

.ctor() 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: IProfileList> IProfileListMethods for __T

Available on crate feature app-profilelist only.