pub struct SlotEntry {
pub kind: SlotKind,
pub label_id: u16,
}Expand description
一个槽位的目录项。
Fields§
§kind: SlotKind槽位类型。
label_id: u16应用侧标签表的 id,0 表示无标签。
只存 id 不存字符串:名字是变长的,会让目录长度泄露密码数量。
Implementations§
Trait Implementations§
impl Copy for SlotEntry
impl Eq for SlotEntry
impl StructuralPartialEq for SlotEntry
Auto Trait Implementations§
impl Forget for SlotEntry
impl Freeze for SlotEntry
impl RefUnwindSafe for SlotEntry
impl Send for SlotEntry
impl Sync for SlotEntry
impl Unpin for SlotEntry
impl UnsafeUnpin for SlotEntry
impl UnwindSafe for SlotEntry
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