vimwiki-core 0.1.0

Core library elements for vimwiki data structures, parsing, and more
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::StrictEq;
use derive_more::Constructor;
use serde::{Deserialize, Serialize};

#[derive(
    Constructor, Copy, Clone, Debug, Eq, PartialEq, Hash, Serialize, Deserialize,
)]
pub struct Divider;

impl StrictEq for Divider {
    /// Same as PartialEq
    #[inline]
    fn strict_eq(&self, other: &Self) -> bool {
        self == other
    }
}