pub struct BlockStart {
pub index: usize,
pub block_type: BlockType,
pub metadata: BlockMetadata,
}Expand description
ブロック開始イベント
Fields§
§index: usizeブロックのインデックス
block_type: BlockTypeブロックの種別
metadata: BlockMetadataブロック固有のメタデータ
Implementations§
Source§impl BlockStart
impl BlockStart
pub fn block_type(&self) -> BlockType
Trait Implementations§
Source§impl Clone for BlockStart
impl Clone for BlockStart
Source§fn clone(&self) -> BlockStart
fn clone(&self) -> BlockStart
Returns a duplicate 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 BlockStart
impl Debug for BlockStart
Source§impl<'de> Deserialize<'de> for BlockStart
impl<'de> Deserialize<'de> for BlockStart
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 From<BlockStart> for BlockStart
impl From<BlockStart> for BlockStart
Source§fn from(value: BlockStart) -> Self
fn from(value: BlockStart) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BlockStart
impl PartialEq for BlockStart
Source§impl Serialize for BlockStart
impl Serialize for BlockStart
impl StructuralPartialEq for BlockStart
Auto Trait Implementations§
impl Freeze for BlockStart
impl RefUnwindSafe for BlockStart
impl Send for BlockStart
impl Sync for BlockStart
impl Unpin for BlockStart
impl UnwindSafe for BlockStart
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