vimwiki_core/lang/elements/blocks/
dividers.rs

1use crate::StrictEq;
2use derive_more::Constructor;
3use serde::{Deserialize, Serialize};
4
5#[derive(
6    Constructor, Copy, Clone, Debug, Eq, PartialEq, Hash, Serialize, Deserialize,
7)]
8pub struct Divider;
9
10impl StrictEq for Divider {
11    /// Same as PartialEq
12    #[inline]
13    fn strict_eq(&self, other: &Self) -> bool {
14        self == other
15    }
16}