struct SuggestedBlockTarget {
blocks: Vec<BlockRef>,
is_tag: bool,
}Fields§
§blocks: Vec<BlockRef>§is_tag: boolImplementations§
Source§impl SuggestedBlockTarget
impl SuggestedBlockTarget
fn parse(input: &str, include_tags: bool) -> Option<Self>
fn property_names(&self) -> Vec<&'static str>
fn property_value_names(&self, name: &str) -> Vec<&str>
fn has_properties(&self) -> bool
fn has_property(&self, name: &str) -> bool
fn has_property_value(&self, name: &str, value: &str) -> bool
fn has_block_entity(&self) -> bool
Auto Trait Implementations§
impl !RefUnwindSafe for SuggestedBlockTarget
impl !UnwindSafe for SuggestedBlockTarget
impl Freeze for SuggestedBlockTarget
impl Send for SuggestedBlockTarget
impl Sync for SuggestedBlockTarget
impl Unpin for SuggestedBlockTarget
impl UnsafeUnpin for SuggestedBlockTarget
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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 moreWraps this value in an
Arc<SyncMutex<>>