pub struct Engraving {Show 14 fields
pub pos: Option<Coord>,
pub quality: Option<i32>,
pub tile: Option<i32>,
pub image: Option<ArtImage>,
pub floor: Option<bool>,
pub west: Option<bool>,
pub east: Option<bool>,
pub north: Option<bool>,
pub south: Option<bool>,
pub hidden: Option<bool>,
pub northwest: Option<bool>,
pub northeast: Option<bool>,
pub southwest: Option<bool>,
pub southeast: Option<bool>,
}Fields§
§pos: Option<Coord>§quality: Option<i32>§tile: Option<i32>§image: Option<ArtImage>§floor: Option<bool>§west: Option<bool>§east: Option<bool>§north: Option<bool>§south: Option<bool>§northwest: Option<bool>§northeast: Option<bool>§southwest: Option<bool>§southeast: Option<bool>Implementations§
Source§impl Engraving
impl Engraving
Sourcepub fn quality(&self) -> i32
pub fn quality(&self) -> i32
Returns the value of quality, or the default value if quality is unset.
Sourcepub fn floor(&self) -> bool
pub fn floor(&self) -> bool
Returns the value of floor, or the default value if floor is unset.
Sourcepub fn north(&self) -> bool
pub fn north(&self) -> bool
Returns the value of north, or the default value if north is unset.
Sourcepub fn south(&self) -> bool
pub fn south(&self) -> bool
Returns the value of south, or the default value if south is unset.
Returns the value of hidden, or the default value if hidden is unset.
Sourcepub fn northwest(&self) -> bool
pub fn northwest(&self) -> bool
Returns the value of northwest, or the default value if northwest is unset.
Sourcepub fn northeast(&self) -> bool
pub fn northeast(&self) -> bool
Returns the value of northeast, or the default value if northeast is unset.
Trait Implementations§
Source§impl Message for Engraving
impl Message for Engraving
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl Name for Engraving
impl Name for Engraving
Source§const NAME: &'static str = "Engraving"
const NAME: &'static str = "Engraving"
Simple name for this
Message.
This name is the same as it appears in the source .proto file, e.g. FooBar.Source§const PACKAGE: &'static str = "RemoteFortressReader"
const PACKAGE: &'static str = "RemoteFortressReader"
Package name this message type is contained in. They are domain-like
and delimited by
., e.g. google.protobuf.Source§fn full_name() -> String
fn full_name() -> String
Fully-qualified unique name for this
Message.
It’s prefixed with the package name and names of any parent messages,
e.g. google.rpc.BadRequest.FieldViolation.
By default, this is the package name followed by the message name.
Fully-qualified names must be unique within a domain of Type URLs.impl StructuralPartialEq for Engraving
Auto Trait Implementations§
impl Freeze for Engraving
impl RefUnwindSafe for Engraving
impl Send for Engraving
impl Sync for Engraving
impl Unpin for Engraving
impl UnsafeUnpin for Engraving
impl UnwindSafe for Engraving
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