pub struct LayoutEntityKey {
pub package: String,
pub kind: ProtobufEntityKind,
pub name: String,
}Expand description
Layout entity key for path indexing (protobuf package + kind + name).
Fields§
§package: StringProtobuf package / group id string.
kind: ProtobufEntityKindMessage, enum, or service kind.
name: StringEntity name within the package.
Trait Implementations§
Source§impl Clone for LayoutEntityKey
impl Clone for LayoutEntityKey
Source§fn clone(&self) -> LayoutEntityKey
fn clone(&self) -> LayoutEntityKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LayoutEntityKey
impl Debug for LayoutEntityKey
impl Eq for LayoutEntityKey
Source§impl Hash for LayoutEntityKey
impl Hash for LayoutEntityKey
Source§impl PartialEq for LayoutEntityKey
impl PartialEq for LayoutEntityKey
Source§fn eq(&self, other: &LayoutEntityKey) -> bool
fn eq(&self, other: &LayoutEntityKey) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LayoutEntityKey
Auto Trait Implementations§
impl Freeze for LayoutEntityKey
impl RefUnwindSafe for LayoutEntityKey
impl Send for LayoutEntityKey
impl Sync for LayoutEntityKey
impl Unpin for LayoutEntityKey
impl UnsafeUnpin for LayoutEntityKey
impl UnwindSafe for LayoutEntityKey
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