Struct language2::BracketPair
source · pub struct BracketPair {
pub start: String,
pub end: String,
pub close: bool,
pub newline: bool,
}
Fields§
§start: String
§end: String
§close: bool
§newline: bool
Trait Implementations§
source§impl Clone for BracketPair
impl Clone for BracketPair
source§fn clone(&self) -> BracketPair
fn clone(&self) -> BracketPair
Returns a copy of the value. Read more
1.0.0 · 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 BracketPair
impl Debug for BracketPair
source§impl Default for BracketPair
impl Default for BracketPair
source§fn default() -> BracketPair
fn default() -> BracketPair
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BracketPair
impl<'de> Deserialize<'de> for BracketPair
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<BracketPair> for BracketPair
impl PartialEq<BracketPair> for BracketPair
source§fn eq(&self, other: &BracketPair) -> bool
fn eq(&self, other: &BracketPair) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BracketPair
Auto Trait Implementations§
impl RefUnwindSafe for BracketPair
impl Send for BracketPair
impl Sync for BracketPair
impl Unpin for BracketPair
impl UnwindSafe for BracketPair
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