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§
Sourcefn try_get(self, index: impl Into<i32>) -> ProfileCard
fn try_get(self, index: impl Into<i32>) -> ProfileCard
TryGet(i32) overload
Sourcefn serialize(self, stream: impl Into<Stream_2>)
fn serialize(self, stream: impl Into<Stream_2>)
Serialize(crate::app::stream_2::Stream_2) overload
Sourcefn deserialize(self, stream: impl Into<Stream_2>)
fn deserialize(self, stream: impl Into<Stream_2>)
Deserialize(crate::app::stream_2::Stream_2) overload
Sourcefn try_get_2(self, owner_id: impl Into<u64>) -> (bool, ProfileCard)
fn try_get_2(self, owner_id: impl Into<u64>) -> (bool, ProfileCard)
TryGet(u64, *mutcrate::app::profilecard::ProfileCard) overload
Sourcefn try_add(self, card: impl Into<ProfileCard>) -> bool
fn try_add(self, card: impl Into<ProfileCard>) -> bool
TryAdd(crate::app::profilecard::ProfileCard) overload
Sourcefn force_add(self, card: impl Into<ProfileCard>) -> bool
fn force_add(self, card: impl Into<ProfileCard>) -> bool
ForceAdd(crate::app::profilecard::ProfileCard) 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§
impl<__T: IProfileList> IProfileListMethods for __T
Available on crate feature
app-profilelist only.