Enum fractal::session::model::sidebar_data::category::category_type::CategoryType
source · #[repr(i32)]pub enum CategoryType {
None = -1,
VerificationRequest = 0,
Invited = 1,
Favorite = 2,
Normal = 3,
LowPriority = 4,
Left = 5,
Outdated = 6,
Space = 7,
Ignored = 8,
}
Variants§
None = -1
VerificationRequest = 0
Invited = 1
Favorite = 2
Normal = 3
LowPriority = 4
Left = 5
Outdated = 6
Space = 7
Ignored = 8
Implementations§
source§impl CategoryType
impl CategoryType
sourcefn register_enum() -> Type
fn register_enum() -> Type
Registers the enum only once.
Trait Implementations§
source§impl Clone for CategoryType
impl Clone for CategoryType
source§fn clone(&self) -> CategoryType
fn clone(&self) -> CategoryType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CategoryType
impl Debug for CategoryType
source§impl Default for CategoryType
impl Default for CategoryType
source§fn default() -> CategoryType
fn default() -> CategoryType
Returns the “default value” for a type. Read more
source§impl Display for CategoryType
impl Display for CategoryType
source§impl From<&RoomType> for CategoryType
impl From<&RoomType> for CategoryType
source§impl From<CategoryType> for Value
impl From<CategoryType> for Value
source§fn from(v: CategoryType) -> Self
fn from(v: CategoryType) -> Self
Converts to this type from the input type.
source§impl From<RoomType> for CategoryType
impl From<RoomType> for CategoryType
source§impl<'a> FromValue<'a> for CategoryType
impl<'a> FromValue<'a> for CategoryType
§type Checker = GenericValueTypeChecker<CategoryType>
type Checker = GenericValueTypeChecker<CategoryType>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl HasParamSpec for CategoryType
impl HasParamSpec for CategoryType
type ParamSpec = ParamSpecEnum
§type SetValue = CategoryType
type SetValue = CategoryType
Preferred value to be used as setter for the associated ParamSpec.
type BuilderFn = fn(_: &str, _: CategoryType) -> ParamSpecEnumBuilder<'_, CategoryType>
fn param_spec_builder() -> Self::BuilderFn
source§impl Hash for CategoryType
impl Hash for CategoryType
source§impl PartialEq for CategoryType
impl PartialEq for CategoryType
source§impl StaticType for CategoryType
impl StaticType for CategoryType
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl ToValue for CategoryType
impl ToValue for CategoryType
source§impl TryFrom<&CategoryType> for RoomType
impl TryFrom<&CategoryType> for RoomType
source§impl TryFrom<CategoryType> for RoomType
impl TryFrom<CategoryType> for RoomType
source§impl TryFromGlib<i32> for CategoryType
impl TryFromGlib<i32> for CategoryType
source§impl ValueType for CategoryType
impl ValueType for CategoryType
§type Type = CategoryType
type Type = CategoryType
Type to get the
Type
from. Read moreimpl Copy for CategoryType
impl Eq for CategoryType
impl StructuralPartialEq for CategoryType
Auto Trait Implementations§
impl Freeze for CategoryType
impl RefUnwindSafe for CategoryType
impl Send for CategoryType
impl Sync for CategoryType
impl Unpin for CategoryType
impl UnwindSafe for CategoryType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoClosureReturnValue for T
impl<T> IntoClosureReturnValue for T
fn into_closure_return_value(self) -> Option<Value>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
source§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere
T: HasParamSpec,
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.