pub struct SlotDescriptor {
pub id: SlotId,
pub name: String,
pub slot_type: SlotType,
}Fields§
§id: SlotId§name: String§slot_type: SlotTypeImplementations§
Source§impl SlotDescriptor
impl SlotDescriptor
pub const fn logical_type(&self) -> Option<LogicalType>
Trait Implementations§
Source§impl Clone for SlotDescriptor
impl Clone for SlotDescriptor
Source§impl Debug for SlotDescriptor
impl Debug for SlotDescriptor
impl Eq for SlotDescriptor
Source§impl PartialEq for SlotDescriptor
impl PartialEq for SlotDescriptor
impl StructuralPartialEq for SlotDescriptor
Auto Trait Implementations§
impl Freeze for SlotDescriptor
impl RefUnwindSafe for SlotDescriptor
impl Send for SlotDescriptor
impl Sync for SlotDescriptor
impl Unpin for SlotDescriptor
impl UnsafeUnpin for SlotDescriptor
impl UnwindSafe for SlotDescriptor
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§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 more