pub enum EntityKeyword {
Private,
Publish,
Delete,
Add,
Remove,
}Expand description
Keywords for <!ENTITY> tags.
Variants§
Private
PRIVATE entities cannot be queried by the MUD client. They are completely hidden.
Publish
PUBLISH entities can be used by the client to produce a list of MUD Server variables to be accessed by the player.
Delete
To delete an entity, use the DELETE argument. Setting an entity to a empty value does not delete it.
Add
The ADD argument causes the Value to be added as a new item in a string list. So, it is
appended to the existing value of the variable. String lists are values separated by the
'|' character.
Remove
The REMOVE argument causes the Value to be removed from the existing string list.
Trait Implementations§
Source§impl<R: Into<FlagSet<EntityKeyword>>> BitAnd<R> for EntityKeyword
impl<R: Into<FlagSet<EntityKeyword>>> BitAnd<R> for EntityKeyword
Source§impl<R: Into<FlagSet<EntityKeyword>>> BitOr<R> for EntityKeyword
impl<R: Into<FlagSet<EntityKeyword>>> BitOr<R> for EntityKeyword
Source§impl<R: Into<FlagSet<EntityKeyword>>> BitXor<R> for EntityKeyword
impl<R: Into<FlagSet<EntityKeyword>>> BitXor<R> for EntityKeyword
Source§impl Clone for EntityKeyword
impl Clone for EntityKeyword
impl Copy for EntityKeyword
Source§impl Debug for EntityKeyword
impl Debug for EntityKeyword
Source§impl Display for EntityKeyword
impl Display for EntityKeyword
impl Eq for EntityKeyword
Source§impl From<EntityKeyword> for FlagSet<EntityKeyword>
impl From<EntityKeyword> for FlagSet<EntityKeyword>
Source§fn from(value: EntityKeyword) -> Self
fn from(value: EntityKeyword) -> Self
Converts to this type from the input type.
Source§impl FromStr for EntityKeyword
impl FromStr for EntityKeyword
Source§impl Not for EntityKeyword
impl Not for EntityKeyword
Source§impl PartialEq for EntityKeyword
impl PartialEq for EntityKeyword
Source§impl<R: Into<FlagSet<EntityKeyword>>> Rem<R> for EntityKeyword
impl<R: Into<FlagSet<EntityKeyword>>> Rem<R> for EntityKeyword
impl StructuralPartialEq for EntityKeyword
Auto Trait Implementations§
impl Freeze for EntityKeyword
impl RefUnwindSafe for EntityKeyword
impl Send for EntityKeyword
impl Sync for EntityKeyword
impl Unpin for EntityKeyword
impl UnsafeUnpin for EntityKeyword
impl UnwindSafe for EntityKeyword
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