Struct kernel::schemes::file::Node [] [src]

pub struct Node {
    pub block: u64,
    pub name: String,
    pub extents: [Extent; 16],
}

A file node

Fields

block
name
extents

Methods

impl Node

fn new(block: u64, data: &NodeData) -> Self

Create a new file node from an address and some data

fn data(&self) -> NodeData

Trait Implementations

impl Clone for Node

fn clone(&self) -> Self

fn clone_from(&mut self, source: &Self)